/* Remove animations for folks who set their OS to reduce motion.
 1. Immediately jump any animation to the end point
 2. Remove transitions & fixed background attachment
 See: https://github.com/mozdevs/cssremedy/issues/11
*/
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
}

::selection {
  color: $white;
  background-color: $primary;
}

ul {
  list-style-type: circle
}

.post {
  position: relative;
  padding: 0;
  text-align: left;
  margin: 3em 0
}

.day-date {
  display: none;
}

.post-title {
  margin: .5em 0;
  line-height: 1.17;
  font-size: 2.8em
}

@media (max-width: 320px) {
  .post-title {
    font-size: 1.8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.post-title a {
  text-decoration: none;
}

.post h3,
.post h4,
.post h5,
.post h6 {
  font-weight: normal;
  font-variant: small-caps;
  margin: 1.5em 0 0.5em;
}

.post-infos {
  margin-bottom: 8em;
  padding: 0;
  font-size: 0.875em;
  display: table;
  width: 100%;
  height: auto;
  border: 1px solid $gray-200;
  background: $gray-100
}

.dc-post .post-infos {
  margin-bottom: 2em
}

p.post-info span {
  margin-right: 1em;
  white-space: nowrap
}


.post-content img,
.post-excerpt img {
  border: 1px solid $gray-400;
  max-width: 96%;
  padding: 2px;
}

@media(min-width:768px) {

  .post-content img,
  .post-excerpt img {
    max-width: 100%;
  }
}

img.smiley {
  border: none;
  padding: 0;
}

.permalink a {
  padding-left: 20px;
}

.post-content,
.post-excerpt {
  font-size: 1.2em
}

.post-content p,
.post-excerpt p {
  font-size: 1em
}

.post-content ul,
.post-content ol {
  font-size: 1.2em;
}

.post-content ul,
.post-content ol {
  margin: .5em 0;
  font-size: inherit;
}

.post-content li {
  margin: .5em 0;
  font-size: inherit;
  list-style-type: inherit
}

.footnotes {
  font-size: .875em;
}

.footnotes h4 {
  font-variant: normal;
  font-weight: bold;
}

.read-it {
  margin: 0 0 1em;
  font-size: 1.5em
}

.post-info-co {
  font-size: 0.8em;
  font-style: italic;
  padding-right: .5em;
  max-width: 80%;
}

.post-info-co a {
  text-decoration: none;
  padding-right: 1em;
  padding-left: 0;
}

ul.post-tags-list {
  list-style-type: none;
  padding: 0
}

ul.post-tags-list li {
  display: inline;
  margin-right: 1em;
  color: $gray-700
}

.dc-tags .tag0,
.tags .tag0 {
  font-size: 85%;
}

.dc-tags .tag10,
.tags .tag10 {
  font-size: 90%;
}

.dc-tags .tag20,
.tags .tag20 {
  font-size: 95%;
}

.dc-tags .tag30,
.tags .tag30 {
  font-size: 100%;
}

.dc-tags .tag40,
.tags .tag40 {
  font-size: 105%;
}

.dc-tags .tag50,
.tags .tag50 {
  font-size: 110%;
}

.dc-tags .tag60,
.tags .tag60 {
  font-size: 115%;
}

.dc-tags .tag70,
.tags .tag70 {
  font-size: 120%;
}

.dc-tags .tag80,
.tags .tag80 {
  font-size: 125%;
}

.dc-tags .tag90,
.tags .tag90 {
  font-size: 130%;
}

.dc-tags .tag100,
.tags .tag100 {
  font-size: 135%;
}

#attachments {
  margin: 3em 0;
}

#attachments ul,
#attachments li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 1.2em
}

#comments,
#ping-url,
#comment-form,
#comments-feed {
  color: $gray-900;
  clear: both;
}

#comment-form,
#ping-url {
  padding: 1em;
  margin-top: 1em;
  color: $gray-900;
  border: 1px solid $gray-200;
}

#pr {
  padding: 1em;
  border: 1px dashed $gray-200;
  margin-bottom: 1em;
}

#comments h3,
#ping-url h3,
#pr h3,
#comment-form h3 {
  margin-top: 2em;
  color: $gray-600;
}

#comment-form h3,
#ping-url h3 {
  margin-top: 0;
}

#comments>ul {
  margin-left: .2em;
  padding-left: 0;
  list-style-type: none;
}

.comment,
.ping {
  clear: left;
  margin-left: 0;
  border-top: 1px solid $gray-200;
}

.comment-info {
  padding-bottom: .2em;
  line-height: 1.25;
  color: $gray-700;
}

#comments .me {
  color: $gray-900
}

#comments {
  font-size: 1em;
  color: $gray-800
}

#comments dl {
  font-size: 1.2em;
  margin: 3em 1em
}

#comments dd {
  margin-left: 1.2em;
  color: $gray-700;
  font-size: 0.875em;
}

#post-comments,
#pings,
#attachments,
#pr {
  padding-top: 3em;
}

.field {
  margin-bottom: 1em;
}

.field label {
  display: block;
  font-size: .875em;
  color: $gray-600;
  text-indent: 6px;
}

.field input,
.field textarea {
  display: block;
  font-size: 100%;
  border: 1px solid $gray-400 !important;
  padding: 4px;
  background: $white;
  border-radius: 3px;
}

.field textarea {
  padding: .5em 1em;
}

.field input:focus,
.field textarea:focus {
  background: $white;
}

#c_content {
  width: 95%;
  padding: 4px;
}

.form-help {
  margin-top: 0;
  font-style: italic;
}

#comments-feed {
  margin-top: 2em;
}

#search p {
  background: $white;
  border: 1px solid $gray-200;
  vertical-align: middle;
  padding: 0;
  display: inline-block
}

#search input {
  margin: 0;
  border: none;
  background: transparent;
}

#q:focus,
#q:hover {
  background: $white
}

#search .submit {
  background-color: $primary;
  color: $white;
  vertical-align: top;
  font-variant: small-caps;
  height: 2em;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  font-weight: bold
}

#search .submit:focus {
  background: $primary
}

#search .submit:hover {
  background: $gray-700
}

ul.post-tags-list {
  list-style-type: none;
  padding: 0
}

ul.post-tags-list li {
  display: inline;
  margin-right: 1em;
  color: $gray-700
}

ul.post-tags-list li a {
  color: $gray-700
}

#search.widget p {
  max-width: 20rem
}

button.preview,
button.submit {
  border: none;
  padding: 5px 10px;
  text-transform: uppercase;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  color: $white;
  background-color: $primary;
  font-weight: bold
}

button.preview:hover,
button.submit:hover {
  color: $white;
  background-color: $gray-700
}

.dc-search em {
  font-weight: bold
}

.dc-search em:before {
  content: '"'
}

.dc-search em:after {
  content: '"'
}
