@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,700,700i');

body {
  margin: 0;
  background-color: #EBEBEB;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  color: #525252;
}

h2 {
  color: #033f8f;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 30px;
}

.centered {
  text-align: center;
}

a:visited, a:active, a {
    color: rgb(170, 42, 42);
    text-decoration: none;
}

a:hover {
    color: rgb(140, 19, 19);
}


ul {
    /* list-style-position: inside;
    list-style-type: circle;
    padding: 0px;
    margin: 0px 30px; */
}

li {
  font-size: 17pt;
}

table {
  font-size: 20px;
}


#mainWrapper {
    width: 90%;
    max-width: 650px;
    margin: 70px auto 50px auto;
}


/********************************/
/************ HEADER ************/
/********************************/

#header {
    background-color: #033f8f;
    width: 100%;
    height: 55px;
    position:fixed;
    top: 0px;
    text-align: center;
    padding: 0;
    z-index: 999;
    color: white;
    line-height: 65px;
    margin: 0;
}

#header-content {
  width: 95%;
  max-width: 700px;
  margin: 5px auto;
  height: 45px;
  line-height: 45px;
  text-align: left;
  color: white;
}

.logo {
  float: left;
  display: block;
  height: 35px;
  margin: 5px 10px 5px 0;
}

#header-content h1 {
  float: left;
  display: block;
  margin: 0;
  color: white;
  text-align: left;
  text-transform: none;
  font-size: 25px;
}


#header-content a {
  float: right;
  display: block;
  margin: 7px 0;
  border: 1px solid #ffd33c;
  border-radius: 5px;
  color: white;
  text-align: left;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 1px;
  height: 30px;
  line-height: 30px;
  color: #ffd33c;
  padding: 0 15px;
}


/********************************/
/************ INDEX *************/
/********************************/

.hero-text {
  margin: 65px auto 10px auto;
  width: 90vw;
  max-width: 650px;
  font-size: 18px;
  font-style: italic;
}

#box-search-container {
  width: 90vw;
  max-width: 650px;
  margin: 40px auto 15px auto;
}

#box-search-label {
  display: inline-block;
  font-weight: bold;
  font-size: 22px;
  width: 55px;
  text-align: right;
  margin-right: 5px;
}

#box-search-input {
  display: inline-block;
  width: calc(90vw - 83px);
  max-width: calc(650px - 83px);
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid lightgray;
  font-size: 18px;
}

#box-search-button {
  background-color: #033f8f;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #ffd33c;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
  cursor: pointer;
}

#item-search-container {
  width: 90vw;
  max-width: 650px;
  margin: 40px auto 15px auto;
}

#item-search-label {
  display: block;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  margin: 25px 0 10px 0;
  width: calc(90vw - 24px);
  max-width: calc(650px - 24px);
}

#item-search-input {
  width: calc(90vw - 24px);
  max-width: calc(650px - 24px);
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid lightgray;
  font-size: 18px;
}

#item-search-button {
  background-color: #033f8f;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 16px;
  color: #ffd33c;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  cursor: pointer;
}


.edit-link {
  text-align: center;
  font-style: italic;
  margin-top: 200px;
  margin-bottom: 50px;
}

.edit-link a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 2px 15px 3px 15px;
  color: gray;
}


/********************************/
/************ BOXES *************/
/********************************/

/* LOADING */

#loading {
  display: none;
  text-align: center;
  margin-top: 20vh;
}

.loader {
  width: 75px;
}

#loading p {
  color: #888888;
  font-style: italic;
  font-size: 16px;
  margin-top: 10px;
}

#loading p .box {
  font-weight: 700;
  font-size: 30px;
}


/* NO RESULTS */

#no-results {
  display: none;
  text-align: center;
  margin-top: 18vh;
}

.mystery-box {
  width: 200px;
}

#no-results p {
  color: #888888;
  font-style: italic;
  font-size: 22px;
  margin-top: 30px;
}


/* BOX CONTENTS */

#box-contents {
  display: none;
}



/********************************/
/************ SEARCH ************/
/********************************/

table#box-items {
  width: 90vw;
  max-width: 650px;
}

table th {
  text-align: left;
}
