/*
 Theme Name:   Guten (MMF GmbH)
 Bescription:  MMF customizations for Guten Theme by Kaira
 Author:       Dev Team, MMF GmbH
 Author URI:   http://www.mmf-research.de
 Template:     guten
 Version:      1.0.0
*/

/*
 *******************************************************************************
 * Bold page sub headers
 *******************************************************************************
 */

.entry-content h2,
.entry-content h3,
.entry-content h4, 
.entry-content h5 {
  font-weight: 700;
}

/*
 *******************************************************************************
 * Automatic hyphenation of paragraphs
 *******************************************************************************
 */

.entry-content p {
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  /*
  hyphenate-limit-lines: 3;
  hyphenate-limit-last: always;
  hyphenate-limit-zone: 10%;
  */
}

/*
 *******************************************************************************
 * Increase font size for publication entries 
 * Adjust subheader margins
 *******************************************************************************
 */

.tp_pub_author,
.tp_pub_title,
#content p.tp_pub_author,
#content p.tp_pub_title {
  font-size: 1.4rem !important;
  hyphens: manual;
}

.tp_pub_additional span,
#content p.tp_pub_additional span {
  font-size: 1.2rem !important;
  hyphens: manual;
}

.tp_h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.0rem;
}

/*
 *******************************************************************************
 * Issues with projects
 *******************************************************************************
 */

.entry-content p.construction {
  color: #e17100;
  font-size: 16px;
  font-style: italic;
  padding: 0.3rem 1.0rem 0.3rem 5.0rem;
  margin: 0.5rem auto 3.0rem auto;
  border: 1px dotted #e17100;
  background: url(media/construction.svg) 0.75rem 0.75rem / 3.5rem 3.0rem no-repeat;
  }

.entry-content p.mailerror {
  color: #ae3939;
  font-size: 1.2rem;
  font-style: italic;
  padding: 0.3rem 1.0rem 0.3rem 5.0rem;
  margin: 0.5rem auto 3.0rem auto;
  border: 1px dotted #ae3939;
  background: url(media/mailError.png) 0.75rem 0.75rem / 3.5rem 3.0rem no-repeat;
}

.entry-content p.mailerror a {
  white-space: nowrap;
  hyphens: manual;
}

/*
 *******************************************************************************
 * Take away message
 *******************************************************************************
 */
.entry-content p.ta-msg {
  padding: 1.0rem;
  background-color: #264c72;
  color: white;
}

.entry-content p.ta-msg a {
  color: #aaaaaa !important;
}

/*
 *******************************************************************************
 * Post-specific adjustments
 *******************************************************************************
 */

.entry-content p.manual-hyphens {
  hyphens: manual;
}

/*
 *******************************************************************************
 * Use local fonts (see functions.php for details)
 *******************************************************************************
 */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/quicksand-v30-latin-ext_latin-regular.woff2') format('woff2'),
       url('fonts/quicksand-v30-latin-ext_latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/quicksand-v30-latin-ext_latin-700.woff2') format('woff2'),
       url('fonts/quicksand-v30-latin-ext_latin-700.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/open-sans-v29-latin-ext_latin-regular.woff2') format('woff2'),
       url('fonts/open-sans-v29-latin-ext_latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/open-sans-v29-latin-ext_latin-700.woff2') format('woff2'),
       url('fonts/open-sans-v29-latin-ext_latin-700.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/open-sans-v29-latin-ext_latin-italic.woff2') format('woff2'),
       url('fonts/open-sans-v29-latin-ext_latin-italic.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('fonts/open-sans-v29-latin-ext_latin-700italic.woff2') format('woff2'),
       url('fonts/open-sans-v29-latin-ext_latin-700italic.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/poppins-v20-latin-ext_latin-italic.woff2') format('woff2'),
       url('fonts/poppins-v20-latin-ext_latin-italic.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/poppins-v20-latin-ext_latin-regular.woff2') format('woff2'),
       url('fonts/poppins-v20-latin-ext_latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/poppins-v20-latin-ext_latin-700.woff2') format('woff2'),
       url('fonts/poppins-v20-latin-ext_latin-700.woff') format('woff');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('fonts/poppins-v20-latin-ext_latin-700italic.woff2') format('woff2'),
       url('fonts/poppins-v20-latin-ext_latin-700italic.woff') format('woff');
}
