body {
	margin: 0;
	font-family: 'Georgia';
}

p {
	font-size: 16px;
	line-height: 26px;
}

a {
	color: #44238C; /* #2d154f */
}

h1, h2, h3, h4, h5 {
	font-family: 'Lato';
}

.clearfix {
	clear: both;
	overflow: hidden;
}

.caption {
	width: 99%;
	margin: 0 auto;
	padding-top: 5px;
	font-family: 'Lato';
	font-size: 14px;
	line-height: 20px;
	text-align: right;
	padding-bottom: 10px;
}

@media screen and (max-width: 480px) {
	.caption {
		width: 95%;
		font-size: 12px;
		line-height: 16px;
	}
}

.story {
	margin-bottom: 40px;
}

/** SEARCH.CSS STYLES **/

#searchbar {
  width: 85%;
  font-size: 26px;
  font-family: 'Lato';
  margin: 40px auto 10px auto;
  text-align: center;
  padding: 20px 0;
}

#searchbar input {
  font-size: 26px;
  font-family: 'Lato';
  border: none;
  padding: 0px;
  box-shadow: 0 4px 2px -2px #d3d3d3;
  padding-left: 5px;
}

input:focus {
  outline: none;
}

#intro-graf {
  width: 80%; 
  margin: 0 auto; 
  text-align: center; 
  padding-top: 20px;
}

#error {
  font-size: 16px;
  padding-top: 10px;
  color: gray;
  font-weight: 300;
}

.category {
  width: 60%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px #d3d3d3 solid;
}

.category img {
  width: 100%;
}

.credits {
	width: 60%;
	max-width: 900px;
	margin: 0 auto;
	font-family: 'Lato';
	padding: 20px 0;
	overflow: auto;
}

.credit {
	width: 100%;
	padding: 15px 0;
	text-align: center;
	width: 50%;
	float: left;
	min-height: 80px;
}

.credit a {
	text-decoration: none;
}

.credit a:hover {
	text-decoration: underline;
}

.title {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 300;
}

.name {
	font-size: 16px;
	font-weight: 400;
}

.contact {
	font-size: 13px;
	font-weight: 300;
}

h1 {
  font-size: 30px;
  margin-top: 5px;
  font-weight: 400;
}

h2 {
  width: 90%;
  text-align: center;
  margin: 0 auto;
  font-size: 72px;
}

h4 {
  font-weight: 400;
  margin-bottom: 0;
  text-transform: uppercase;
}

#heading {
  height: 300px;
  width: 100%;
}

/* footer */

footer {
	color: white;
	background: black;
	padding-top: 10px;
	padding-bottom: 3px;
}

footer img {
	height: 20px;
}

.wrapper {
	width: 100%;
	clear: both;
}

@media screen and (max-width: 1143px) {
  .category, .credits {
    width: 75%;
  }
  p {
    font-size: 15px;
    line-height: 24px;
  }
}

@media screen and (min-width: 681px) {
	.mobile {
		display: none;
	}
}

@media screen and (max-width: 680px) {
  .category, .credits {
    width: 90%;
  }
  #intro-graf {
    width: 90%;
  }
  .credit {
    width: 100%;
  }
  .desktop {
  	display: none;
  }
}

.ads {
  	border-top: 1px #d3d3d3 solid;
	width: 100%; 
	text-align: center;
	padding-top: 20px;
}

/** AUTOCOMPLETE STYLES **/

.autocomplete-suggestions {
    text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);

    /* core styles should not be changed */
    position: absolute; display: none; z-index: 9999; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;
}
.autocomplete-suggestion { position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #c0c0c0; }
.autocomplete-suggestion b { font-weight: normal; color: #44238C; }
.autocomplete-suggestion.selected { background: #f0f0f0; }
