/* Colors */
/* Variables */
/* Placeholder */
/* Normalize */
ul, dl {
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-padding-start: 0;
}

dd {
  -webkit-margin-start: 0;
}

/* Common style */
/* Dropy style */
.dropy {
  position: relative;
  margin: 0 auto;
  margin-bottom: 1.5em;
  float: right;
  width: 180px;
  right: 270px;
  bottom: 16px;
}

.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%;
  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);
}
.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;
  opacity: 1;
}

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