/*!
 * angular-fontselect v0.6.0
 * https://github.com/Jimdo/angular-fontselect
 *
 * A fontselect directive for AngularJS
 *
 * Copyright 2014, Jimdo, Hannes Diercks <hannes.diercks@jimdo.com>
 * Released under the MIT license
 */
.jdfs-main {
  width: 150px;
  height: 50px;
  position: relative;
  display: inline-flex;
  font-size: 16px;
  background: white;
}
.jdfs-main *,
.jdfs-main *:after,
.jdfs-main *:before {
  box-sizing: border-box;
}
.jdfs-window {
  top: 100%;
  left: 0;
  z-index: 3000;
  position: absolute;
  padding: .5em 0;
  height: 0;
  border-radius: 4px;
  width: 500px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.jdfs-toggle {
  margin: 0;
  background: transparent;
}
.jdfs-toggle,
.jdfs-search {
  width: 100%;
  height: 100%;
  border: none;
}
.jdfs-search {
  padding: 1em;
}
.jdfs-fontlistcon {
  padding: .5em;
  overflow: hidden;
  border-radius: 4px 0 0 4px;
  background: #d6d6d6;
  width: 60%;
  flex: 1 0;
}
.jdfs-fontlist {
  border-radius: 2px;
  background: white;
  padding: 0;
  margin: 0;
}
.jdfs-fontlist li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.jdfs-fontlist label {
  padding: .5em 1em;
  display: block;
  width: 100%;
}
.jdfs-fontlist input {
  display: none;
}
.jdfs-fontpagination {
  border: none;
  background: white;
}
.jdfs-filter {
  border-radius: 0 4px 4px 0;
  padding: .5em;
  width: 14em;
  background: #d6d6d6;
}
.jdfs-filter h4 {
  margin: 0 0 .5em;
}
.jdfs-filter .jdfs-styles,
.jdfs-filter .jdfs-providers,
.jdfs-filter .jdfs-subsets {
  margin-top: 1em;
}
.jdfs-filter .jdfs-styles:first-child,
.jdfs-filter .jdfs-providers:first-child,
.jdfs-filter .jdfs-subsets:first-child {
  margin-top: 0;
}
.jdfs-styles {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.jdfs-styles h4 {
  flex: 100%;
}
.jdfs-filterbtn {
  border-radius: 2px;
  margin: 0 .3rem .3rem 0;
  width: 5em;
  padding: 1em 0;
  flex: 1 1 45%;
  font-size: .7em;
  line-height: 1.2;
  vertical-align: middle;
  display: inline-block;
  background: #ffffff;
  border: none;
}
.jdfs-filterbtn:focus,
.jdfs-filterbtn:active {
  outline: none;
}
.jdfs-filterbtn:last-child {
  margin-bottom: 0;
}
.jdfs-highlight,
.jdfs-highlight:hover {
  background: #81b4fc;
  color: white;
}
.jdfs-fontstyle-other {
  display: none;
}
