box {
	padding: 30px 0px;
	display: block;
}

img {
	border-radius: 3px;
	overflow: hidden;
}

/* Sidebar */

logo {
	background-color: #eee;
	padding: 30px;
	border-radius: 3px;
	width: 100%;
	display: block;
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}

logo:hover {
	opacity: .7;
}

intro {
	margin-top: 30px;
	display: block;
	line-height: 20px;
	text-align: justify;
	font-size: 15px;
}
line {
	margin: 30px 0px;
	border-bottom: 1px solid rgb(227, 227, 227);
	display: block;
}
nav a {
	display: block;
	color: #444;
	margin-bottom: 5px;
	/* padding left same as logo padding-left */
	padding-left: 30px;
	line-height: 30px;
	text-align: left;
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}
nav a:hover {
	background-color: #ffffff;
	border-radius: 3px;
	padding-left: 15px;
	transition: all .1s;
	-moz-transition: all .1s;
	-webkit-transition: all .1s;
	-o-transition: all .1s;
}
#active {
	background-color: #ffffff;
	border-radius: 3px;
	padding-left: 15px;
	text-decoration: none;
}
#active:hover {
	color: #444;
}
contact a {
	background-color: #dddddd;
	border-radius: 3px;
	display: block;
	padding: 0px 5px;
	color: #ffffff;
	line-height: 35px;
	transition: all .6s;
	-moz-transition: all .6s;
	-webkit-transition: all .6s;
	-o-transition: all .6s;
	text-align: center;
}
contact a:hover {
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	background-color: #ffffff;
	color: #43c5ea;
}
worksnav h1 {
	font-size: 20px;
	color: rgba(0, 0, 0, 0.25);
}
worksnav a {
	display: block;
	color: #444;
	line-height: 30px;
}
footer {
	text-align: right;
	margin-top: 20px;
	color: #dfdfdf;
}
footer img {
	width: 7%;
	opacity: .7;
}
footer img:hover {
	opacity: 1;
}

/* Image hover effect */

.caption {
	display: block;
	position: relative;
	text-align: center;
	color: #000;
}
.caption img {
	display: block;
	max-width: 100%;
}
.caption1 {
	overflow: hidden;
	border-radius: 3px;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	transition: background 0.3s ease-in-out;
}
.caption1:hover {
	background: rgba(0,0,0,0);
}
.caption1 img {
	-webkit-transition: -webkit-transform 0.3s ease-in-out;
	-moz-transition: -moz-transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out;
}
.caption1:hover img {
	-webkit-transform: translateX(100%);
	-moz-transform: translateX(100%);
	transform: translateX(100%);
}
.caption1::before,
.caption1::after {
	position: absolute;
	left: 0;
	border-radius: 3px;
	width: 100%;
	z-index: -1;
	-webkit-transition: -webkit-transform 0.3s ease-in-out;
	-moz-transition: -moz-transform 0.3s ease-in-out;
	transition: transform 0.3s ease-in-out;
	background-color: #dddddd;
}
.caption1::before {
	content: attr(data-title);
	height: 100%;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 30px;
	font-weight: 300;
	padding-top: 25%;
	text-align: center;
	line-height: 30px;
}
.caption1:hover::before,
.caption1:hover::after  {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	transform: translateX(0);
}

a.person
{
    border-radius: 3px;
}

/* Work page */

text {
	margin-top: 20px;
	display: block;
}
text h1 {
	font-size: 35px;
}
text h2 {
	color: rgb(75, 75, 75);
	font-size: 25px;
	margin-top: -15px;
}
text p {
	font-size: 16px;
	margin-top: 5px;
	text-align: justify;
	line-height: 30px;
}
.back {
	display: block;
	border-radius: 5px;
	padding: 10px;
	margin: 50px 0px;
	text-align: center;
	background-color: #ffffff;
	color: #909294;
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}
.back:hover {
	background-color: #dcdcdc;
	color: #ffffff;
}
date {
	font-size: 13px;
	color: rgba(143, 145, 148, 0.5);
}
info {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
}
.social {
	padding: 8px 14px;
	margin-left: 5px;
	border-radius: 3px;
	background-color: #dddddd;
	transition: all .6s;
	-moz-transition: all .6s;
	-webkit-transition: all .6s;
	-o-transition: all .6s;
	color: #ffffff;
}
.social:hover {
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	color: #ffffff;
}
.facebook:hover {
	background-color: #435fa8;
}
.twitter:hover {
	background-color: #39d2fe;
}
.google:hover {
	background-color: #dd4c37;
}
.pinterest:hover {
	background-color: #cb2026;
}
.dribbble:hover {
	background-color: #f472a2;
}

.clearing-thumbs img:hover {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
	opacity: .8;
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}

/* About page */

iframe {
	border-radius: 3px;
}
about {
	margin-top: 20px;
	display: block;
}
about h1 {
	font-size: 35px;
}

/* Button style */

.button {
	background-color: #dddddd;
	border-radius: 3px;
	padding: 9px 15px;
	color: #ffffff;
	line-height: 45px;
	transition: all .6s;
	-moz-transition: all .6s;
	-webkit-transition: all .6s;
	-o-transition: all .6s;
}

.button:hover {
	opacity: .6;
	color: #ffffff;
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}
.green {
	background-color: #44e997;
}
.red {
	background-color: #e94444;
}
.gray {
	background-color: #919191;
}

/* Panel style */

.panel {
	padding: 50px 30px;
}

.panel p , .panel h5{
	color: #707070;
}

.panel img {
	width: 50px;
	margin-bottom: 15px;
}

/* Contact form */

form {
	text-align: center;
}

input , textarea {
	font-size: 17px;
	width: 100%;
	background-color: #ffffff;
	padding: 10px;
	border-radius: 3px;
	border: 1px solid #e2e3e3;
	color: #96989a;
	margin-bottom: 10px;
}

.submit-button {
	background-color: #42c5ea;
	color: #ffffff;
	border: 0px;
}

.submit-button:active {
	background-color: #7ed7f0;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color: #96989a; opacity: .7; font-size: 17px;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #96989a; opacity: .7; font-size: 17px;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #96989a; opacity: .7; font-size: 17px;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #96989a; opacity: .7; font-size: 17px;
}

#error {
	background-color: #e94344;
	border-radius: 5px;
	padding: 10px 15px;
	color: #ffffff;
}
#error:hover {
	background-color: #f08384;
}
#ok {
	background-color: #44e996;
	border-radius: 5px;
	padding: 10px 15px;
	color: #ffffff;
}


/* Animation by Dan Eden */

.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;-moz-animation-name:fadeIn;-o-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes bounceInLeft{0%{opacity:0;-webkit-transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(15px)}80%{-webkit-transform:translateX(-10px)}100%{-webkit-transform:translateX(0)}}@-moz-keyframes bounceInLeft{0%{opacity:0;-moz-transform:translateX(-2000px)}60%{opacity:1;-moz-transform:translateX(15px)}80%{-moz-transform:translateX(-10px)}100%{-moz-transform:translateX(0)}}@-o-keyframes bounceInLeft{0%{opacity:0;-o-transform:translateX(-2000px)}60%{opacity:1;-o-transform:translateX(30px)}80%{-o-transform:translateX(-10px)}100%{-o-transform:translateX(0)}}@keyframes bounceInLeft{0%{opacity:0;transform:translateX(-2000px)}60%{opacity:1;transform:translateX(15px)}80%{transform:translateX(-10px)}100%{transform:translateX(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;-moz-animation-name:bounceInLeft;-o-animation-name:bounceInLeft;animation-name:bounceInLeft}

/* Responsive */

@media only screen and (max-width: 767px) and (min-width: 641px) {
	box {
		padding: 10px 0px;
	}
	sidebar {
		text-align: center;
	}
	logo {
		margin-bottom: 10px;
		padding: 20px;
	}
	logo img {
		width: 200px;
	}
	line {
		margin: 30px 0px;
	}
	nav a {
		display: inline;
		padding: 10px 15px;
		line-height: 43px;
		border-radius: 3px;
		text-align: center;
	}
	nav a:hover {
		padding-left: 15px;
	}
	nav {
	    margin-bottom: 10px;
	}
	#active {
		border-radius: 3px;
		padding-left: 15px;
	}
	worksnav , intro {
		display: none;
	}
	footer {
		margin-top: 10px;
	}
	footer img {
		width: 11%;
	}
}

@media only screen and (max-width: 640px) {
	box {
		padding: 10px 0px;
	}
	sidebar {
		text-align: center;
	}
	logo {
		margin-bottom: 10px;
		padding: 20px;
	}
	logo img {
		width: 100px;
	}
	line {
		margin: 10px 0px;
	}
	nav a {
		display: block;
		padding: 0;
		line-height: 30px;
		border-radius: 3px;
		text-align: center;
	}
	nav a:hover {
		padding-left: 15px;
	}
	nav {
	    margin-bottom: 10px;
	}
	#active {
		border-radius: 3px;
		padding-left: 15px;
	}
	worksnav , intro {
		display: none;
	}
	footer {
		margin-top: 10px;
	}
	footer img {
		width: 17%;
	}
	.caption1:hover img {
		-webkit-transform: translateX(0%);
		-moz-transform: translateX(0%);
		transform: translateX(0%);
	}
	.caption1::after,
	.caption1::before,
	.caption1:hover::before,
	.caption1:hover::after {
		display: none;
	}
	.social {
		line-height: 40px;
	}
}

/* Alumni */
.alumnus::before, .alumnus:before
{
    content: "Alumnus";
    
    color: #666;
    font-weight: 700;
    text-shadow: 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff;
    
    text-align: center;
    position: absolute;
    left: -1em;
    top: .5em;
    z-index: 1;
    
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.alumna::before, .alumna:before
{
    content: "Alumna";
    
    color: #666;
    font-weight: 700;
    text-shadow: 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff, 0 0 1em #fff;
    
    text-align: center;
    position: absolute;
    left: -.5em;
    top: .5em;
    z-index: 1;
    
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* Publications */

.publication
{
    padding-bottom: 2em;
}
.publication p
{
    margin-bottom: .2em;
}
.publication .title
{
    /* border-bottom: 1px dotted #ccc; */
}
.publication .title span
{
    background: #eee;
}
.publication .authors
{
    /* border-bottom: 1px dotted #ccc; */
}
.publication .venue
{
    color: #666;
}
.publication .teaser a
{
    background: #fff;
}

/*
.publication .title
{
    background-color: #FFC9BD;
}
.publication .authors
{
    background-color: #C9FFBD;
}
.publication .venue
{
    background-color: #C9BDFF;
}
*/

span.journaltitle
{
    font-style: oblique;
}
.bold
{
    font-weight:500;
}
.bestpaper
{
    font-weight:500;
    color: #aa0000;
}

.fake-caption
{
    background-color:#000;
    background-color:rgba(0,0,0,0.6);
    color:#fff;
    width:100%;
    padding:10px 14px;
    font-size:.875em
}

div.publication-heading p.authors {
	color: rgb(75, 75, 75);
	margin-top: -15px;
}

.subtle
{
    color: #999;
    font-size: 75%;
}

/* http://stackoverflow.com/questions/248011/how-do-i-wrap-text-in-a-pre-tag */
pre.bibtex {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

p + ul.errata {
    padding-left: 1.25em;
    margin-top: -1.25em;
    font-size: 75%;
    font-weight: 700;
}
ul.errata > li {
    font-weight: 400;
}
