/*
Theme Name: am-theme
Description: This theme is developed as basic bootstrap theme by anwalts.marketing and customized our clients 
Author: Jens Schleifenbaum
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Website, OnePage, Mobile, Kanzleiwebsite
Text Domain: am-theme
Domain Path: /languages
*/

/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/am-theme/inc/fonts/poppins-v23-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  src: url('/wp-content/themes/am-theme/inc/fonts/poppins-v23-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/am-theme/inc/fonts/poppins-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/am-theme/inc/fonts/poppins-v23-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* pt-serif-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/am-theme/inc/fonts/pt-serif-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pt-serif-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/am-theme/inc/fonts/pt-serif-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: auto;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #f8f9fa;
  /* Fallback for when there is no custom background color defined. */
}

.boxed-content {
	max-width: 1200px;
}

@media all and (min-width: 768px) {
	.boxed-content .content-padding {
		padding: 0 12%;
	}
}
	
img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

.wp-custom-header video,
.wp-custom-header img,
.wp-custom-header iframe {
	margin:auto;
	display:block;
    height: auto;
    max-width: 1168px;
}
 
@supports ( object-fit: cover ) {
	.wp-custom-header video,
    .wp-custom-header img,
    .wp-custom-header iframe {
        height: 101%;
        left: 0;
        -o-object-fit: cover;
        object-fit: cover;
		object-position: top center;
        top: 0;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
        width: 101%;
	}
}

.wp-custom-header-video-button {
	position: fixed;
	top: 5px;
	left: 0;
	background-color: transparent;
	border: none;
}

.wp-custom-header-video-button > span {
	display: inline-block;
	width: 25px;
	height: 25px;
	border: 2px solid #FFF;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.video-header-play-button {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewbox='0 0 52 52'%3E%3Ccircle cx='26' cy='26' r='25' fill='%23000' /%3E%3Cpath d='M19,16 l19,10 l-19,10 z' fill='%23fff' /%3E%3C/svg%3E");
}

.video-header-pause-button {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewbox='0 0 52 52'%3E%3Ccircle cx='26' cy='26' r='25' fill='%23000' /%3E%3Cline x1='20' y1='16' x2='20' y2='36' stroke-width='7' stroke='%23FFF' /%3E%3Cline x1='33' y1='16' x2='33' y2='36' stroke-width='7' stroke='%23FFF' /%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}


/*--------------------------------------------------------------
# font styles
--------------------------------------------------------------*/
body {
	font-family: 'Poppins', sans-serif; 
	color:#434343;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 400;
	font-family: 'PT serif', serif;
	color: #434343;
}


h1 {
	margin-bottom: 40px;
}


p, li, span {
	font-weight: 300;
}

strong {
	font-weight: 600;
}

body a {
	color: #434343;
	font-weight: 600;
	text-decoration: none;
}

body a:hover {
	color: #000;
}

.page-id-81 .entry-content a[target="_blank"] {
	word-break: break-all;
}


/*--------------------------------------------------------------
# color classes
--------------------------------------------------------------*/
.text-accent-1 {
	color: #a82e34;
}

.text-accent-2 {
	color: #abcf87;
}

.text-accent-3 {
	color: #2c0134;
}

.text-inverted {
	color: #888;
}

.border-color-accent-1 {
	border-color: #a82e34 !important;
}

.border-color-accent-2 {
	border-color: #abcf87 !important;
}

.border-color-accent-3 {
	border-color: #2c0134 !important;
}

/*--------------------------------------------------------------
# #masthead #main-nav
--------------------------------------------------------------*/
#main-nav .navbar-nav .nav-link {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05rem;
	color:#434343;	
}

@media all and (min-width: 1200px) {
	#main-nav .navbar-nav .nav-link {
		padding-left: 2rem;
	}
}
	

.navbar-toogler:focus, .navbar-toggler.focus {
	box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewbox='0 0 32 32'%3E%3Cg stroke='%23000' stroke-width='2'%3E%3Cline x1='3' y1='8' x2='29' y2='8' /%3E%3Cline x1='3' y1='16' x2='29' y2='16' /%3E%3Cline x1='3' y1='24' x2='29' y2='24' /%3E%3C/g%3E%3C/svg%3E");
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewbox='0 0 32 32'%3E%3Cg stroke='%23000' stroke-width='2'%3E%3Cline x1='5' y1='5' x2='27' y2='27' /%3E%3Cline x1='27' y1='5' x2='5' y2='27' /%3E%3C/g%3E%3C/svg%3E");
}

/* @media all and (max-width: 576px) {
	.navbar-brand img {
		width: 260px;
		height: 45px;
	}
}
*/
/*--------------------------------------------------------------
# elements
--------------------------------------------------------------*/
.video-frame {
	height: 0; /* calc( 100vh - 127px); */
}



@media all and (min-width: 768px) {
	.page-template-page-homepage .entry-header {
		position: fixed;
		top: 460px;
		left: 0;
		width: 100%;
		z-index: 0;
	}
	.page-template-page-homepage .entry-title {
		font-size: calc(1.375rem + 1.5vw);
		background-color: rgba(255,255,255,.85);
		padding: .5rem 1rem;
	}
}

@media all and (max-width: 767px) {
	.page-template-page-homepage .entry-title {
		font-size: calc(1.375rem + 1vw);
		padding: 2rem 0 1rem;
	}
}

.skip-to-start {
	background-color: rgba(255,255,255,.85);
}

.site-main ul {
	list-style-type: none;
	padding-left: .1rem;
}

.site-main ul li {
	position: relative;
	padding-left: 1.2rem;
	margin-bottom: .5rem;
}

.site-main ul li:before {
	content: '';
	position: absolute;
	width: 7px;
	height: 7px;
	top: .5rem;
	left: 0;
	background-color: #212529;
}

.site-main ul.accent-1 li:before {
	background-color: #184E78;
}

.site-main ul.accent-2 li:before {
	background-color: #80406F;
}

.site-main ul.accent-3 li:before {
	background-color: #2c0134;
}

.publist > li {
	margin-bottom: 1rem !important;
}



.category-allgemein {
	padding:40px 12%;
}
.category-allgemein .entry-title {
	border-bottom:4px solid #a82e34 !important;
	padding-bottom:10px;
}

.more-link:before {
	content:"Weiterlesen";
	font-size: 16px;
}

.more-link {
	display:block;
	text-align:center;
	color:#a82e34;
		font-size:0;
}

.more-link span {
	font-size: 16px;
	margin-left:10px;
}