/*	Main definitions
   ========================================================================== */
.library {
  padding-top: 50px;
  padding-bottom: 50px; }

.library .library-headline-container {
  padding-bottom: 30px; }

.library .library-headline-container h3 {
  color: #999;
  text-transform: none; }

.library .filter-nav {
  padding-top: 10px;
  padding-bottom: 10px; }

.library .filter .filter-headline, .filter .search-headline {
  font-size: 20px;
  margin: 0;
  padding-bottom: 10px; }

.library .filter .type-filter > li {
  padding-bottom: 20px; }

.library .filter .filter-search {
  padding-top: 5px;
  padding-bottom: 30px; }

.library .filter .filter-search form {
  margin: 0; }

.library .filter .filter-search ul {
  padding-bottom: 0; }

.library .bold {
  font-weight: bold; }

.library .filter .search-form {
  position: relative; }

.library .filter a.search-clear {
  position: absolute;
  top: 2px;
  right: 45px; }

.library .filter li {
  position: relative;
  list-style: none; }

.library .filter ul ul {
  padding: 5px 0 10px 0; }

.library .filter a, .library .filter .link-like {
  position: relative;
  display: block;
  padding: 3px 8px 3px 6px;
  font-size: 14px;
  line-height: 24px;
  color: #222;
  border-radius: 2px; }

.library .filter .readonly {
  color: #888; }

.library .filter a:hover {
  color: #666; }

.library .filter a.active {
  padding: 3px 10px 3px 6px;
  background: #444;
  color: #ccc; }

.library .filter a.active:hover {
  color: #eee; }

.library .filter .filter-close {
  display: none; }

.library .filter a.active .filter-close {
  display: inherit; }

.library .filter a.active .filter-count {
  display: none; }

.library .filter a.active .filter-count.visible {
  display: inherit;
  color: #ccc; }

/* Tags */
.library .filter .tags-filter a,
.library .filter .tags-filter .filter-count,
.library .filter .tags-filter .filter-close {
  display: inline-block;
  float: none;
  margin: 0; }

.library .filter .tags-filter a, .library .tag {
  background-color: #ccc;
  padding: 0 7px;
  line-height: 23px; }

.library .filter .tags-filter a.active, .library .tag.active {
  background-color: #333; }

.library .tag {
  color: #fff;
  background-color: #b7b7b7;
  display: inline-block;
  border: 0;
  margin-bottom: 5px;
  border-radius: 2px; }

.filter .tags-filter li {
  display: inline-block;
  margin: 0 3px 6px 0; }

.library .filter hr {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.library .filter .filter-count {
  float: right;
  color: #666;
  font-size: 12px; }

.library .filter .filter-close {
  font-weight: bold;
  float: right; }

.library .items h3 {
  float: left;
  margin: 30px 0 30px 20px; }

.library .items h1 {
  padding: 28px 0 0 14px;
  margin-bottom: 12px; }

.library .items h2.tagline {
  padding: 0 0 0 14px;
  margin: 0; }

.library .items .header {
  min-height: 50px;
  padding: 10px 15px; }

.library .items .featured-box {
  margin: 0 15px 10px 15px;
  padding: 10px 10px 6px 10px;
  color: #303030;
  clear: both;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }

.library .items .featured-box img {
  float: left;
  max-height: 200px;
  max-width: 300px;
  margin-right: 10px; }

.library .items .featured-box .featured-headline {
  font-family: 'Graphik';
  font-weight: 600;
  font-size: 18px; }

.library .items .featured-box .featured-text, .library .items .featured-box a {
  font-size: 14px; }

.library .items .featured-box .toggle {
  float: right; }

.library .items .featured-box.removed {
  border-color: transparent;
  background-color: transparent;
  margin: -26px 6px 5px 14px;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0); }

.library .items .featured-box.removed *:not(.show-btn) {
  display: none; }

.library .items .featured-box.removed .show-btn {
  display: block; }

.library .items .featured-box .show-btn {
  display: none; }

.library .items .info .info-headline, .library .items .info .info-result {
  float: left; }

.library .items .info .info-result {
  font-size: 14px;
  line-height: 34px; }

.library .items .info > div.buffer {
  margin-right: 15px; }

.library .items .info {
  padding: 0; }

.library .item .info .separator-arrow {
  height: 9px; }

.library .items .info h2, .library .list-items h3 {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 30px; }

.library .items .sort {
  margin-top: -1px;
  padding: 0;
  text-align: right; }

.library .items .sort select {
  width: 70%;
  display: inline-block; }

.library .items .item-box {
  margin: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: hidden; }

.library .items .item-box .item-content {
  padding: 5px 10px;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }

.library .items .item-box .description-title a {
  font-family: "Graphik";
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  color: #303030; }

.library .items .item-box .meta {
  font-size: 12px;
  line-height: 20px;
  color: #303030; }

.library .separator-arrow {
  display: inline-block;
  margin: 0 2px;
  background: url("/typo3conf/ext/ni_userlib/Resources/Public/Images/seperator.png") no-repeat 0 0;
  width: 3px;
  height: 7px; }

.library .items .cover {
  width: 100%;
  padding: 8px 0 10px 0; }

.library .items .rating {
  vertical-align: middle; }

.library .download-container {
  display: table;
  width: 100%; }

.library .download-container > div {
  display: table-cell;
  vertical-align: middle; }

.library .download-link {
  font-size: 11px;
  background: url("/typo3conf/ext/ni_userlib/Resources/Public/Images/userlib_sprites.png") no-repeat -50px -165px;
  padding: 0 0 0 18px; }

.library .download-link:hover {
  background: url("/typo3conf/ext/ni_userlib/Resources/Public/Images/userlib_sprites.png") no-repeat -150px -165px; }

.library .download-text {
  display: none; }

.library .vote-count {
  padding-left: 4px;
  display: inline-block;
  vertical-align: middle;
  font-size: 12px; }

.library .download-count, .library .download-count:hover {
  padding-left: 8px;
  padding-right: 8px;
  background: #3e8cbb;
  border-left: 1px solid #fff;
  cursor: default;
  z-index: 2; }

/* List Item */
.library .list-items {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px; }

.library h3.list-items-headline {
  padding-left: 15px; }

.library .list-items .item-box {
  margin: 0;
  padding: 15px;
  overflow: hidden; }

.library .list-items .item-box .item-content {
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }

.library .item-content > h3 > a {
  color: #333; }

/* Pagination */
.library .pagination-container {
  text-align: center; }

/* only for Userlib */
.library .items > .pagination {
  margin: 0 auto;
  display: block;
  text-align: center;
  border-radius: 0; }

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0; }

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0; }

/* Detail Page*/
.library .detail-headline {
  padding-top: 30px;
  padding-bottom: 10px; }

.library .detail-headline h3 {
  color: #999;
  text-transform: none; }

.library .detail-social-download {
  padding-top: 20px;
  padding-bottom: 70px; }

/* Backend/Upload */
.library form fieldset {
  background-color: #fafafa;
  margin-bottom: 20px;
  padding: 0 10px;
  border-radius: 2px; }

.library .form-horizontal .form-group {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ddd; }

.library .form-horizontal .form-group.last {
  border-bottom: 0; }

.library .form-horizontal .control-label, .library .form-horizontal .radio, .library .form-horizontal .checkbox, .library .form-horizontal .radio-inline, .library .form-horizontal .checkbox-inline {
  padding-top: 15px;
  padding-bottom: 15px; }

.library .form-horizontal .control-label {
  text-align: left; }

.library .form-horizontal input.form-control, .library .form-horizontal select.form-control, .library .form-horizontal textarea.form-control, .library .form-horizontal .dropzone, .library .form-horizontal .tag-group {
  margin-top: 12px;
  margin-bottom: 12px; }

.library .form-group .dropzone {
  background: #fff;
  border: 3px dashed #ccc;
  border-radius: 5px; }

.library .form-group.error .dropzone {
  border-color: #b94a48 !important; }

.library .help-inline {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 18px; }

.library .dropzone {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
  padding: 8px;
  cursor: pointer; }

.library .dropzone .item {
  position: relative; }

.library .detail-info .info {
  background-color: #ededed;
  padding: 15px; }

.library .detail-info .rating-section, .library .detail-info .player-section {
  margin-bottom: 10px; }

.library .detail-info .rating-section > span {
  padding: 4px 5px 4px 5px;
  display: inline-block; }

.library .detail-info .rating-section #vote-message {
  font-size: 10px;
  font-style: italic; }

.library .detail-info label {
  width: 30%; }

.library .detail-info .tag-items {
  float: right;
  width: 70%;
  padding-left: 5px; }

.library .icon-ul-back {
  background: url("/typo3conf/ext/ni_userlib/Resources/Public/Images/back.png") no-repeat 2px 3px; }

.library .icon-upload {
  background: url("/typo3conf/ext/ni_userlib/Resources/Public/Images/upload.png") no-repeat 1px 2px; }

.library .comment {
  padding-top: 15px;
  padding-bottom: 15px; }

.library .comment:first-child {
  padding-top: 10px; }

.library .comment-header {
  padding-bottom: 5px; }

.library .comment-header .author {
  font-weight: bold; }

.library .comment-header .time {
  font-size: 12px; }

.library div.add {
  padding-top: 10px;
  padding-bottom: 20px; }

.library .commentbox {
  width: 100%;
  height: 100px;
  padding: 0 8px; }

.library .btn-small {
  padding: 2px 8px; }

.library .form-group .note {
  font-size: 12px;
  line-height: 18px;
  padding-bottom: 10px; }

.library .cover .caption {
  position: absolute;
  bottom: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 4px;
  width: 100%;
  color: #eee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px; }

.library .meta > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.library .description-title a {
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  display: block; }

.library .cover:hover .caption {
  white-space: normal;
  height: auto; }

.library .cover {
  position: relative; }

.library table.table-files tr:first-child td {
  font-weight: bold; }

.library .dropzone > div {
  margin: 2px 0; }

.library .dropzone .message {
  display: block;
  padding: 2px; }

.library .dropzone div span {
  padding: 3px 4px;
  position: relative;
  z-index: 5; }

.library .dropzone div span.meter {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: rgba(62, 140, 187, 0.2); }

#vote-info {
  cursor: pointer; }

.library .tags span:after {
  content: ", "; }

.library .tags span:last-child:after {
  content: ""; }

.library button:focus {
  outline: none; }

/* Featured items box */
.library .featured-items {
  padding-top: 100px;
  padding-bottom: 100px; }

.library .featured-items h2 {
  text-align: center; }

.library .featured-items .featured-items-description {
  padding-top: 20px; }

/* Media Queries */
@media (max-width: 768px) {
  /* Overview */
  .library .items .sort {
    text-align: left; }
  .library .items .sort select {
    width: 100%; }
  /* Detail */
  .library .detail-cover, .library .detail-description {
    padding-bottom: 30px; }
  /* Backend/Upload */
  .library fieldset {
    padding: 0; }
  .library .form-horizontal .control-label, .library .form-horizontal .radio, .library .form-horizontal .checkbox, .library .form-horizontal .radio-inline, .library .form-horizontal .checkbox-inline {
    padding-top: 10px;
    padding-bottom: 10px; }
  .library .form-horizontal .form-control-static {
    padding-top: 3px;
    padding-bottom: 7px; }
  .library .form-horizontal input.form-control, .library .form-horizontal select.form-control {
    margin-top: 3px;
    margin-bottom: 10px; }
  /* Featured items box */
  .library .featured-items {
    padding-top: 20px;
    padding-bottom: 20px; } }

/* IE9/10 */
@media screen and (min-width: 0\0) {
  .library .items .item-box .item-content {
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3); }
  .library .items .item-box .item-content:hover {
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5); } }

@media (max-width: 767px) {
  .featured-items-ce .items-container {
    max-width: 390px;
    margin: 0 auto; } }

/* Sample library */
.library .sample-libraries > li {
  list-style: none; }

.library .audio-samples {
  margin: 10px 0;
  padding: 0; }

.library .audio-samples > li {
  list-style: none;
  display: inline-block;
  margin-right: 10px; }
