/* 
to ensure compatibility with later OPUS 4 releases we recommend to insert custom layout changes here
*/

/* jacobs-on: overloaded default layout with custom styles */


/**
 * site template
 */

/* adjusted dimensions for Jacobs logo */
#logo img {
  height: 60px;
  width: 176px;
}

/* suppressed shadow styles in primary navigation */
#primary-nav .active a,
#primary-nav a:hover{
  background: none;
}

/* suppressed 'Sitelinks' in footer navigation */
#page-footer #secondary-nav .last {
  display: none;
}

/* suppressed 'Contact' in footer navigation */
#page-footer #secondary-nav .first {
  display: none;
}

/* suppressed image separator in footer navigation */
#secondary-nav li {
  background: none;
}

/* suppressed OPUS logo in footer */
#page-footer #logo-wrapper { 
  display: none;
}

/* capitalized collection names when browsing */
.nav.browsing li, .solrsearch_search h2 {
  text-transform: capitalize ! important;
}

/* suppressed display of RSS logo (RSS not yet tested) */
a.rss, img[src*='feed_small.png'] {
  display: none;
}

/* changed display of breadcrumbs */
div#breadcrumb > ul > li {
  height: 20px;  
}

/**
 * publish form
 */

.form-textfield {
  width: 400px;
}

.form-selectfield {
  width: 240px ! important;
}

input[name*=Date], input[name*=Year] {
  width: 80px ! important;
}

input[name*=TitleMain_], input[name*=TitleParent_] {
  width: 600px;
}

select#ThesisPublisher {
  width: 450px ! important;
}

input#EnrichmentMatriculationNo {
  width: 70px ! important;
}

/* suppressed upload comment */
label[for=uploadComment] {
  display: none;
}

textarea#uploadComment {
  display: none;
}

/**
 * colors
 */

body {
  background-color: #004180;
}


#top-header, #page-footer {
  background-image: none;
  background-color: #004180;
}

#header {
  background-image: none;
  background-color: #004180;
}

#content.home {
  background-image: none;
  background-color: #FFF;
}

#login-bar a {
  color: #FFF; 
}

h1#logo {
  background-color: transparent;
  background-image: none;
}

#primary-nav * {
  color: #FFF;
}

#primary-nav .active * {
  color: #FFF;
  cursor: default;
}

/**
 * navigation
 */

li#primary-nav-search span {
  background-image: none;
}

li#primary-nav-browsing span {
  background-image: none;
}

li#primary-nav-publish span {
  background-image: none;
}

#primary-nav #primary-nav-administration.active a span {
  background: none;
}

/**
 * login form
 */

.default_auth_login, dd#hash-element {
  clear: both;
}

.default_auth_login dl dd, .default_auth_login dl dt {
  margin-bottom: 10px;
}

.default_auth_login dt {
  display: block;
  float: left;
  width: 120px;
}

.default_auth_login label.required {
  color: #000;
}

.default_auth_login ul.errors, .default_auth_login li {
  display: inline;
}

.default_auth_login input#login, .default_auth_login input#password {
  width: 150px;
}

/**
 * advanced search
 */

select#fulltextModifier {
  width: 100%;
} 

.invalidsearchterm {
  padding: 15px 225px;
}

/**
 * browsing
 */

div.opus.solrsearch_browse ul.nav.browsing li a[href*="/id/16524"]:after {
  content:" (until 2014)";
  text-transform: lowercase;
}

div.opus.solrsearch_browse ul.nav.browsing li a[href*="/id/16520"]:after {
  content:" (as of 2015)";
  text-transform: lowercase;
}

div.opus.solrsearch_browse ul.nav.browsing li a[href*="/id/16219"]:after {
  content:" (as of 2015)";
  text-transform: lowercase;
}

/**
 * frontdoor
 */ 
th.name {
  white-space: nowrap; 
}

#services {
  width: 35%;
}

@keyframes highlight {
  from {background-color: white; color: #004180}
  to {background-color: #004180; color: white}
}

#permalink {
  animation-name: highlight;
  animation-duration: 6s;
}

/**
 * facets 
 */

.facetValueExtender {
  display: none;
}

/**
 * mobile friendly
 */

@media screen and (max-width: 768px) {

  html, #container, body {
    padding: 0;
    margin: 0;
    min-width: initial;
    min-width: 100%;
    width: auto;
  }

  #content {
    min-height: 150px;
    min-width: initial;
    min-width: 100%;
    max-width: initial;
    max-width: auto;
    width: auto;
  }

  #content.opus.solrsearch_browse {
    min-width: 100%;
  }

  /* removed fixed width from wrappers */
  .wrapper,
  .messages,
  #page-footer .wrapper,
  .solrsearch_search .form-wrapper,
  .solrsearch_advanced .form-wrapper,
  .solrsearch_invalidsearchterm .form-wrapper,
  .solrsearch_browse .wrapper {
    min-width: initial;
    min-width: auto;
    max-width: initial;
    max-width: auto;
    padding: 10px;
    margin: auto;
    width: auto;
  }

  /* collapsed top nav */
  #primary-nav {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #004180;
    float: left;
    height: auto;
  }

  #primary-nav * {
    float: none;
    padding: 0;
    padding-bottom: 5px;
  }

  #primary-nav span {
    height: 0;
    padding: 0;
  }

  /* hid login */
  #login-bar {
    visibility: hidden;
  }

  /* removed fixed padding from search form */
  .opus.solrsearch #form-search {
    padding-left: 0;
    padding-right: 0;
  }

  /* removed two-column layout from home page */
  .intro .col {
    width: 100%;
  }

  div.col.col-right {
    float: none;
  }

  #facets {
    width: 0;
    display: none;
  }

  #searchbar {
    width: 100%;
    padding-left: 0;
  }

  /* removed fixed width from main search input */
  div#fieldset-search {
    height: auto;
    width: 100%;
    background: none;
  }

  div#fieldset-search fieldset {
    padding: 5px;
  }

  input#edit-search.form-text {
    width: 90%;
    border: 1px solid gray;
    background-color: white;
  }

  .invalidsearchterm {
    padding: 0;
  }

  #edit-submit-search-wrapper {
    float: left;
  }

  .breadcrumb_results {
    width: 100%;
    overflow: hidden;
  }

  /* added line breaks to search footer links */

  .footer-link a {
    display: block;
    margin-bottom: 5px;
  }

  /* removed fixed width from search form fields */

  .solrsearch_search select,
  .solrsearch_invalidsearchterm select,
  .solrsearch_advanced select {
    min-width: 80px;
    width: 100%;
  }

  .solrsearch_search select#rows,
  .solrsearch_invalidsearchterm select#rows,
  .solrsearch_advanced select#rows {
    width: auto;
  }

  .solrsearch_search input,
  .solrsearch_invalidsearchterm input,
  .solrsearch_advanced input {
    width: 100%;
  }

  /* removed nowrap from frontdoor */
  th.name {
    white-space: normal;
  }
}


/* jacobs-off */
