body{
  line-height: 2em;
}
h1{
border: none!important;
}

#header{
background: #eee!important;
border-radius: 5px 5px 0 0;
padding: .5rem;
}

#header ul{
list-style-type: none!important;
margin: 0;
padding: .5rem;
display: flex;
font-size: 16px;
}

@media screen and (max-width: 500px){
#header ul{
flex-direction: column;
}
}

#header ul li a {
padding: .5rem 1rem;
}

#header a{
text-decoration: none!important;
color: black!important;
}


#header .active{
color: black;
font-weight: bold;
text-decoration: underline!important;
}

/* Dropdown Button */
.dropbtn {
  border-radius: 5px 5px 0 0;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  top: 1.6rem;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 5px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;border-radius: 5px;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background: #ddd;}

#main-banner{
border-radius: 0 0 5px 5px!important;
}

main{
height: 100%;
margin-bottom: 7rem;
}

main h2{
margin-top: 1rem;
}

.tabbed{
	margin-left: 2rem;
}

.banner{
	width: 100%;
	border-radius: 5px;
}

.banner > img{
width: 100%;
}

.events{
	margin: 1rem 0;
}
.card{
	box-shadow: 0 0 10px rgba(0,0,0,.2);
	margin: 1rem 0;
	padding: 1rem;
	display: flex;
	border-radius: 5px;
}

a .card{
  transition: .2s;
}

a .card:hover{
transform: translateY(-2px);
}

.card-title{
	margin: 0 0 1rem 0;
}

.card-img{
	width: 100px;
	height: 100px;
	background-size: cover!important;
	background-position: center center;
	margin-right: 1rem;
	border-radius: 5px;
}

.card-link button{
	border: none;
	background: #006899;
	color: white;
	padding: .5rem 1rem;
	border-radius: 5px;
	transition: .2s;
}

.card-link button:hover{
	cursor: pointer;
	background: darkgreen;
}

#transcription-links a, #indexing-links a, #text-correction-links a, #identification-links a{
	color: #006899!important;	
	text-decoration: none!important;
}

#transcription-links .card, #indexing-links .card, #text-correction-links .card, #identification-links .card{
	transition: .2s;
}

#transcription-links .card:hover, #indexing-links .card:hover, #text-correction-links .card:hover, #identification-links .card:hover{
	transform: translateY(-2px)
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

a .card h3{
color: blue!important;
}
