* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-text-size-adjust: 100%
}

body {
  max-width: 800px;
  margin: auto;
  background-image: url("../img/bg.jpg")
}

h1,
h2 {
  font-family: Baskerville;
  font-weight: 300;
  color: #333;
  text-shadow: 0 -1px 0 #ccc
}

h1 {
  text-align: center;
  font-size: 60px;
  margin: 25px 0;
  padding: 5px 0;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
  margin-top: 15px
}

h2.subtitle {
  margin-top: -10px;
  text-align: center;
  width: 100%;
  border: 0;
  font: 16px "Liberation Serif";
  text-shadow: 0 0 0 rgba(0, 0, 0, 0)
}

h2.subtitle a {
  color: #000
}

::-webkit-input-placeholder {
  color: #000
}

:-moz-placeholder {
  color: #000
}

::-moz-placeholder {
  color: #000
}

:-ms-input-placeholder {
  color: #000
}

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

.half-n-half {
  width: 50%
}

.half-n-half.left {
  float: left
}

.half-n-half.right {
  float: right
}

.textright {
  text-align: right
}

button a {
  color: black;
  text-decoration: none
}

label {
  font: 14px "Courier New"
}

input,
button,
select {
  font-family: "Liberation Serif", "Times"
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  max-width: 100%;
  font: 16px "Liberation Serif", "Times";
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #969696;
  border-width: 0 0 1px 0;
  padding: 5px 0;
  border-radius: 0
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: 0
}

textarea {
  height: 100px
}

button {
  border: 1px solid #969696;
  border-radius: 1px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -o-border-radius: 1px;
  -ms-border-radius: 1px;
  background-image: linear-gradient(-90deg, #FCFCFC 50%, #F9F9F9 35%, #F5F5F5 15%);
  background-image: -webkit-linear-gradient(-90deg, #FCFCFC 50%, #F9F9F9 35%, #F5F5F5 15%);
  background-image: -moz-linear-gradient(-90deg, #FCFCFC 50%, #F9F9F9 35%, #F5F5F5 15%);
  background-image: -o-linear-gradient(-90deg, #FCFCFC 50%, #F9F9F9 35%, #F5F5F5 15%);
  background-image: -ms-linear-gradient(-90deg, #FCFCFC 50%, #F9F9F9 35%, #F5F5F5 15%);
  cursor: pointer
}

input#tag {
  font-size: 20px
}

.citations {
  margin: 20px 0
}

.citations label {
  display: inline-block
}

.citations label.short {
  width: 10%
}

.citations label.long {
  width: 13%;
  padding-left: 1%
}

.citations input {
  width: 25%;
  padding: 2px 5px;
  font-size: 14px;
  margin-bottom: 5px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box
}

.citations input.short {
  width: 23%
}

.citations input.long {
  width: 52%;
  float: right
}

.format {
  text-align: center;
  position: relative
}

.format .select {
  display: none;
  width: 100%
}

.format .select select {
  width: 100%;
  margin: 20px 0;
  text-align: center;
  font-size: 16px
}

.format:hover>input::after:checked {
  display: none
}

.format input:hover::after,
.format input:not(:checked):hover::after {
  display: block
}

.format input::after {
  content: '';
  position: absolute;
  width: 70px;
  text-align: center;
  left: 50%;
  margin-left: -35px;
  bottom: -15px;
  display: none
}

.format input#decratum:after {
  content: 'decratum'
}

.format input#bluebook:after {
  content: 'bluebook'
}

.format input#source:after {
  content: 'the source'
}

.format input#cog:after {
  content: 'cog'
}

.format input#ethos:after {
  content: 'ethos'
}

.right button {
  float: right
}

span:focus {
  outline: 0;
  border-bottom: 1px dotted #333
}

span.source {
  background-color: #ccc
}

#cards {
  margin-top: 15px;
  margin-bottom: 50px
}

@media screen and (max-width:800px) {
  h1 {
    font-size: 40px
  }

  h2.subtitle {
    font-size: 12px
  }

  .wrapper {
    padding: 0 10px
  }

  .citations label {
    display: none
  }

  .citations input.short {
    width: 40%
  }

  .citations input.long {
    width: 58%;
    margin-left: 2%
  }
}

@media screen and (max-width:600px) {
  h1 {
    font-size: 30px
  }

  .format .radios {
    display: none
  }

  .format .select {
    display: block
  }

  .half-n-half {
    width: 100%;
    float: none
  }

  .git {
    display: none
  }

  .right {
    margin-bottom: 20px
  }

  .right button {
    width: 100%;
    float: none;
    font-size: 16px;
    padding: 8px 0
  }
}