/*
Theme Name: am-theme
Description: This theme is developed as basic bootstrap theme by anwalts.marketing and customized for S&P-Söffing Rechtsanwaltsgesellschaft mbH
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
*/

/* pt-serif-regular - latin */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('/wp-content/themes/am-theme/inc/fonts/pt-serif-v12-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/am-theme/inc/fonts/pt-serif-v12-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* pt-serif-700 - latin */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('/wp-content/themes/am-theme/inc/fonts/pt-serif-v12-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/am-theme/inc/fonts/pt-serif-v12-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/am-theme/inc/fonts/playfair-display-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/am-theme/inc/fonts/playfair-display-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* playfair-display-500 - 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: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/am-theme/inc/fonts/playfair-display-v30-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/am-theme/inc/fonts/playfair-display-v30-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}




/*--------------------------------------------------------------
# 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: #fff;
  /* Fallback for when there is no custom background color defined. */
}

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%;
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Playfair Display', serif;*/
	font-weight: 400 !important;
}

.entry-content a {
	color: #888;
	text-decoration: none;
}

.entry-content a:hover {
	color: #093453;
}

.page-template-page-privacy .entry-content a, .single .entry-content a {
	word-break: break-all;
}

/*--------------------------------------------------------------
# color classes
--------------------------------------------------------------*/
.text-light-green {
	color: #00BB00;
}

.text-light-red {
	color: #FF2200;
}

.text-dark-blue {
	color: #00256C;
}

/*--------------------------------------------------------------
# wp-custom-header
--------------------------------------------------------------*/
.margin-nav {
	margin-top: 70px;
}

@media all and (min-width: 576px) {
	.margin-nav {
		margin-top: 83px;
	}
}
/*
.header-img {
	overflow: hidden;
	max-height: 90vh; 
}
*/
.header-img img {
	width: 100%;
}

.title-wrap {
	position: absolute;
	bottom: 40%;
	left: 0;
}

.fancy-line {
	width: 280px;
	height: 4px;
	background: linear-gradient(to left, #a80f23, #00256c); /*linear-gradient(to left, #67D5D4, #093453);*/
}

@media all and (max-width: 575px) {
	.fancy-line {
		width: 100%;
	}
}

.bg-fancy {
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}

.bg-fancy .fancy-line {
	background:  linear-gradient(to left, #ed263d, #1f57ac);
}

.bg-fancy > .container > .row {
	min-height: 66.67vh;
}

.entry-subtitle {
	max-width: 900px;
}

.bg-fancy .list-group-item {
	border-color: rgba(125,125,125,.5);
}

/*--------------------------------------------------------------
# custom elements
--------------------------------------------------------------*/
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.3);
}

.bg-list-box .overlay {
	background-color: rgba(0,0,0,.6);
}

.btn.btn-custom {
	color: #fff;
	background-color: #00256c;
	border: 2px solid #00256c;
	padding: .5rem 1rem;
	transition: all .3s ease;
}

.btn.btn-custom:hover {
	color: #fff;
	background: #900d1b;
	border: 2px solid #900d1b;
}

.btn.btn-custom:active, .btn.btn-custom.active, .btn.btn-custom:focus, .btn.btn-custom.focus {
	box-shadow: 0 0 3px 3px rgba(9,52,83,.3); 
}

.wpcf7 .btn.btn-custom {
	color: #fff;
	background: #00256c;
}

.wpcf7 .btn.btn-custom:hover {
	color: #fff;
	background: #900d1b;
}

.pagination .page-numbers {
	padding: 0 .5rem;
}

.pagination a.page-numbers {
	color: #999;
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	color: #093453;
}

/*--------------------------------------------------------------
# post-preview
--------------------------------------------------------------*/
.post-preview .post-date {
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(to left, #128080, #093453);
	border-bottom-right-radius: .25rem;
	border-top-left-radius: .25rem;
}

.post-preview .post-categories {
	position: absolute;
	bottom: 0;
	left: 0;
	background: linear-gradient(to left, #128080, #093453);
	border-top-right-radius: .25rem; 
}

.entry-meta a {
	color: #fff;
	text-decoration: none;
}

.zoom-link > img {
	transition: all .5s ease;
}

.zoom-link:hover > img {
	transform: scale3d(1.1,1.1,1);
}

/*--------------------------------------------------------------
# #footer
--------------------------------------------------------------*/
.site-footer .widget_media_image img {
	max-width: 300px !important;
}

.site-footer .widget {
	margin-bottom: 1.5rem;
}

.site-footer .widget_nav_menu .menu {
	list-style-type: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@media all and (min-width: 576px) {
	.site-footer .widget_nav_menu .menu {
		flex-direction: row;	
	}
}

.site-footer .widget_nav_menu .menu {
	padding-left: 0;
}


.site-footer .widget_nav_menu .menu li {
	font-size: 1.25rem;
	padding: .25rem .5rem;
}

.site-footer .widget_nav_menu .menu li  a {
	color: #212529;
	text-decoration: none;
}

/*--------------------------------------------------------------
# #masthead #main-nav
--------------------------------------------------------------*/
@media all and (min-width: 576px) {
	.site-logo {
		width: 147px;
		height: 80px;
	}
}

@media all and (min-width: 1200px) {
	.navbar-collapse {
		width: auto;	
	}
	.navbar {
		align-items: flex-end;
	}
}

.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");
}

.navbar-nav .menu-item {
	/*font-family: 'PT serif', serif;*/
	font-size: 1.1rem;
	padding-left: 1rem;
}

.navbar-nav .menu-item .nav-link {
	color: #888;
}

.navbar-nav .menu-item .nav-link:hover {
	color: #212529;
}

#lang-switcher-xl {
	position: absolute;
	right: 0;
	top: .5rem;
	z-index: 1030;
}

.lang-list {
	list-style-type: none;
}

.lang-item {
	text-transform: uppercase;
	padding: .15rem .5rem;
	/*font-family: 'PT serif', serif;*/
}

.lang-item:not(:last-child) {
	border-right: 1px solid #888;
}

.lang-item a {
	color: #888;
	text-decoration: none;
}

.lang-item.current-lang a {
	color: #212529;
}

@media all and (min-width: 401px ) {
	#lang-switcher-sm {
		display: none;
	}
}

@media all and (max-width: 400px) {
	#lang-switcher {
		display: none;
	}
	#lang-switcher-sm {
		position: fixed;
		bottom: 0;
		right: 10px;
		border-top: 1px solid #999;
		border-left: 1px solid #999;
		border-right: 1px solid #999;
		font-size: .8rem;
	}
}
/*--------------------------------------------------------------
# Carousel Mulitple Items
--------------------------------------------------------------*/ 
.multiCarousel {
	padding-bottom: 70px;
}
.multiCarousel .multiCarousel-inner { 
	transition: 1s ease all; 
}

.multiCarousel .leftLst, .multiCarousel .rightLst { 
	position:absolute;
	width: 40px;
	height: 40px;
	border-radius:0;
	bottom: 5px;
	background-color: #eee;
	border-color: #999;
	box-shadow: none;
	background-position: center;
	background-size: 25%;
	background-repeat: no-repeat;
}

.multiCarousel .leftLst:active, .multiCarousel .rightLst:active, .multiCarousel .leftLst.active, .multiCarousel .rightLst.active {
	box-shadow: 0 0 3px 3px rgba(128,128,128,.3);
}

.multiCarousel .leftLst {
	left: calc(50% - 45px);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='32' viewbox='0 0 18 32'%3E%3Cpath d='M16,2 l-14,14 l14,14' fill='none' stroke='%23999' stroke-width='2' /%3E%3C/svg%3E");
}

.multiCarousel .rightLst { 
	right: calc(50% - 45px);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='32' viewbox='0 0 18 32'%3E%3Cpath d='M2,2 l14,14 l-14,14' fill='none' stroke='%23999' stroke-width='2' /%3E%3C/svg%3E");
}
    
.multiCarousel .leftLst.over, .multiCarousel .rightLst.over { 
	pointer-events: none; 
	opacity: .3;
	
}

/*--------------------------------------------------------------
# #wpcf7
--------------------------------------------------------------*/
.wpcf7 .wpcf7-form-control {
	width: 100%;
}
