/* open-sans-300 - latin-ext */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v40-latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-300italic - latin-ext */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/open-sans-v40-latin-ext-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin-ext */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v40-latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin-ext */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v40-latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin-ext */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v40-latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - latin-ext */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/open-sans-v40-latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


p {
  line-height: 1.5 !important;
}
#footer {
  font-size: 1rem !important;
}
html h1, html .h1, html .h1 p {
  font-size: 2.4rem;
  line-height: 1.2;
}
html h2, html .h2, html .h2 p {
  font-size: 2.4rem;
  line-height: 1.2;
}
html h3, html .h3, html .h3 p {
  font-size: 2rem;
  line-height: 1.15;
}
html h4, html .h4, html .h4 p {
  font-size: 1.8rem;
  line-height: 1.15;
}
html h5, html .h5, html .h5 p {
  font-size: 1.5rem;
  line-height: 1.15;
}

.ce_headline_extended h1, .ce_headline_extended h2 {
  font-weight: 300;
}
.ce_headline_extended h1 .color-accent, .ce_headline_extended h2 .color-accent {
  font-weight: 700;
  color: #333333;
}

@media only screen and  (min-width: 768px) and (max-width: 1024px){
	html, body {
		font-size: 18px !important;
	}
    html h1, html .h1, html .h1 p {
        font-size: 2rem;
    }
    html h2, html .h2, html .h2 p {
        font-size: 2rem;
    }
    html h3, html .h3, html .h3 p {
        font-size: 1.556rem;
    }
}

@media only screen and (max-width: 767px)  {
	html, body {
		font-size: 16px !important;
	}

    html h1, html .h1, html .h1 p {
        font-size: 1.75rem;
    }
    html h2, html .h2, html .h2 p {
        font-size: 1.75rem;
    }
    html h3, html .h3, html .h3 p {
        font-size: 1.25rem;
    }
}