*{
	margin: 0;
	padding: 0;
}

body{
	background: #f5f5f5;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	color: #000;
}

.error {
	font-weight: bold;
	font-size: 1em;
	color: #9d3131;
	text-align: center;
}


.paper-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
}
.pdf-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: #f8f8f8;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 2px 6px;
	font-size: 12px;
	margin-left: 5px;
	text-decoration: none;
	color: #555;
}
.pdf-badge:hover {
	background: #e9ecef;
	color: #FF5828;
	text-decoration: none;
}
.pdf-badge svg {
	color: inherit;
}


a {
	text-decoration: none;
	color: #009393;
	-webkit-transition: color 200ms ease-in-out;
    -moz-transition: color 200ms ease-in-out;
    -o-transition: color 200ms ease-in-out;
    -ms-transition: color 200ms ease-in-out;
    transition: color 200ms ease-in-out;
}

a:visited {
	color: #00585f;
}

a:hover{
	text-decoration: underline;
	color: #FF5828;
}

#nav {
  display: flex;
  gap: 10px;
  padding: 15px 0;
  background: #f5f5f5;
  justify-content: flex-start;
  flex-wrap: wrap;
  list-style: none;
}

#nav li {
  margin: 0;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #888;
  color: #555;
  text-decoration: none;
  transition: border 200ms, color 200ms;
}

.nav-button:hover {
  color: #FF5828;
  border-color: #FF5828;
  text-decoration: underline;
}

.icon svg {
  display: block;
  vertical-align: middle;
}


/* About me bullets */
.emoji-bullets {
  list-style: none;
  padding-left: 0;
}

.emoji-bullets li {
  margin-bottom: 0.5em;
  font-size: 1em;
}

.emoji-bullets .date {
  font-weight: bold;
/*  margin-right: 0.5em;*/
  color: #444;
}

.bullet {
	  list-style: circle inside;
}

/* Double gray bars */
#nav {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  position: relative;
}

#nav::before,
#nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: white;
}

#nav::before {
  top: 0;
}

#nav::after {
  bottom: -3px;
}

/* Links */
#nav li a.active{
	color: #000;
	font-weight: bolder;
}

#callout{
	color: #666;
	padding-top: 35px;
}

#callout h2{
	font-size: 1.2em;
	color: #444;
}


#face{
	float: right;
	margin: 0 auto;
	display: block;
	border: 10px solid #FFF;
	margin-bottom: 16px;
}

#footer{
	padding-top: 35px;
	text-align: center;
}

#footer a{
	background: url(../images/social-icons.png);
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 0 1px;
	opacity: .5;
}

#footer a:hover{
	opacity: 1;
}

label{
	width: 22%;
	float: left;
	margin-bottom: 8px;
}

@media (max-width: 600px){
	#callout{
		padding-top: 10px;
	}

	#headshot-container .circle-wrapper {
		width: 5rem;
		height: 5rem;
		float: none;
		margin: 0;
	}

	#nav{
		padding-top: 15px;
		gap: 6px;
	}

	.nav-button {
		padding: 4px 8px;
		font-size: 14px;
	}

	.nav-button .icon svg {
		width: 14px;
		height: 14px;
	}

	#wrapper{
		margin: 0 auto;
		width: 100%;
	}

	.error {
		font-size: .75em;
	}

	#content{
		padding-top: 15px;
	}

	#face{
		margin: 0 auto;
		display: block;
		border: 10px solid #FFF;
	}

	.circle-wrapper {
		width: 5rem;
		height: 5rem;
		float: none;
		margin: 0;
	}

	.emoji-bullets li {
		font-size: 0.85em;
	}

	.emoji-bullets .date {
		font-size: 0.9em;
	}
}

@media(min-width: 1200px){
	form > label{
		text-align: right;
	}
}

.circle-wrapper {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid #ccc;
  position: relative;
}

.circle-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Responsive layouts */
@media (min-width: 601px) {
	#callout {
	  display: grid;
	  grid-template-columns: 2fr 1fr;
	  grid-template-areas:
		"title image"
		"bio image";
	  column-gap: 2rem;
	}
  
	.row-1 {
	  display: contents;
	}
  
	#title-container {
	  grid-area: title;
	}
  
	#headshot-container {
	  grid-area: image;
	}
  
	.row-2 {
	  display: contents;
	}
  
	#bio-container {
	  grid-area: bio;
	}
}
@media (max-width: 600px) {
	.row-1 {
	  display: flex;
	  flex-direction: row;
	  align-items: center;
	}
  
	#headshot-container {
	  margin-right: 2rem;
	  width: 5rem;
	}
  
	#title-container h1 {
	  font-size: 1.5em;
	}
  
	.row-2 {
	  margin-top: 1rem;
	}
  
	#bio-container h2 {
	  font-size: 0.9em;
	}

	#title-container {
	  margin-top: 1rem;
	}
}
	


/* Paper link boxes */
.paper-link {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 6px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.paper-link:hover {
  background-color: #e9ecef;
}

.paper-icon {
  width: 14px;
  height: 14px;
  color: #495057;
  vertical-align: middle;
}
