/* Colors */
/* Variables */
/* Placeholder */
main.day,
main.night {
  *zoom: 1;
}
main.day:before,
main.night:before, main.day:after,
main.night:after {
  content: " ";
  display: table;
}
main.day:after,
main.night:after {
  clear: both;
}

main.day,
main.night {
  margin-top: 6rem;
}

main.day,
main.night .inner {
  width: 90%;
  max-width: 60rem;
  margin: 0 auto;
}

main.day {
  margin-top: 6rem;
}

main.night {
  padding: 6rem 0;
  width: 100%;
  background: #464646;
}
main.night .inner {
  width: 90%;
  max-width: 60rem;
}

main.day article {
  float: left;
  margin: 0 2.5%;
}
main.day article:first-of-type {
  margin-left: 0;
}
main.day article:last-of-type {
  margin-right: 0;
}

main.night article {
  margin: 0 auto;
}

/* Dropy style */
.dropy {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 1.5em;
}

.dropy__title {
  position: relative;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  font-size: 1.6rem;
  color: #464646;
  cursor: pointer;
  transition: border-color 250ms ease-in-out;
}
.dropy__title span {
  display: block;
  padding: 1rem 3rem 1rem 1.5rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.dropy__title:hover {
  border-color: #868686;
}
.dropy__title:after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-top: 0.4rem solid #868686;
  border-left: 0.48rem solid transparent;
  border-right: 0.48rem solid transparent;
}

.dropy__content {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.dropy__content ul {
  z-index: 1;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0.2rem;
  max-height: 0;
  opacity: 0;
  transition: opacity 250ms ease-in-out, max-height 250ms ease-in-out;
  list-style: none;
  background: #fafafa;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  height: 10rem;
}
.dropy__content ul li:first-child a:hover {
  border-radius: 0.2rem 0.2rem 0 0;
}
.dropy__content ul li:last-child a {
  margin-bottom: 1.5rem;
}
.dropy__content ul li:last-child a:hover {
  border-radius: 0 0 0.2rem 0.2rem;
}
.dropy__content li a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
  color: #464646;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}
.dropy__content li a:hover {
  color: #666666;
  background-color: #eeeeee;
}
.dropy__content .dropy__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.6rem;
}
.dropy__content .selected {
  font-weight: 700 !important;
  color: #e75854;
}

.dropy.open .dropy__content ul {
  max-height: 30rem;
  overflow-y: scroll;
  opacity: 1;
}

.dropy.dark .dropy__title {
  border-color: #868686;
  color: #cccccc;
}
.dropy.dark .dropy__title:hover {
  border-color: #cccccc;
}
