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

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

/* 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+ */
}

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('/wp-content/themes/am-theme/inc/fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/am-theme/inc/fonts/lato-v23-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('/wp-content/themes/am-theme/inc/fonts/lato-v23-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/am-theme/inc/fonts/lato-v23-latin-700.woff') format('woff'); /* Chrome 6+, 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: 'Jost', sans-serif;
	text-transform: uppercase;
	letter-spacing: .15rem;
	color: #B9C400;
}

p, .p, li, div {
	font-family: 'Jost', sans-serif;
	color: #3A6274;
	font-size: 1.1rem;
}

/* span {
	font-size: 1.1rem;
}
*/

.entry-content ul {
	list-style-type: square;
	padding-left: 1.4rem;
}

.entry-content ul > li {
	margin-bottom: .7rem;
}

.fst-title {
	font-family: 'Jost', sans-serif;
}

ol {
	font-family: 'Jost', sans-serif;
	padding-left: 1.1rem;
}

.entry-content a, .entry-meta a {
	color: #3A6274;
	text-decoration: underline;
}

.entry-content a:hover, .entry-meta a:hover {
	color: #B9C400;
}

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

/*--------------------------------------------------------------
# color classes
--------------------------------------------------------------*/
.text-main {
	color: #3A6274;
}

.text-accent {
	color: #B9C400;
}

.bg-header {
	background-color: rgba(255,255,255,.9);
}

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


/*--------------------------------------------------------------
# custom elements
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# home
--------------------------------------------------------------*/
/* .full-height-desktop{
	display: flex;
	flex-direction: row;
} */

	.full-height-desktop .offset-xl-2{
		margin: 10%;
	  
	}

.site {
	border-top: .8rem solid #B9C400;
	border-bottom: .8rem solid #3A6274;
}

.entry-header {
	border-bottom: 3px solid #B9C400;
}

.more-spacing {
	letter-spacing: .07rem;
}

.fancy-title {
	position: relative;
	padding-left: 2.3rem;
}

.fancy-title.display-6 {
	padding-left: 2.5rem;
}

.fancy-title:before {
	content: '';
	position: absolute;
	top: calc(1.325rem + .9vw);
	left: 0;
	width: 1.3rem;
	height: 2px;
	background-color: #B9C400;
}

.fancy-title.display-6:before {
	top: calc(1.375rem + 1.5vw);
	left: 0;
	width: 1.5rem;
}

.content-title {
	color: #3A6274;
	letter-spacing: 0;
	margin-top: 2rem;
}

.check-title {
	position: relative;
	padding-left: 2.3rem;
	font-size: 1.3rem;
}

.check-title:before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 1.4rem;
	height: 1.4rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewbox='0 0 50 50'%3E%3Cg fill='none' stroke='%233A6274' stroke-width='4'%3E%3Cpath d='M13,22 l10,15 l23,-35' /%3E%3Cpath d='M33,3 h-31 v44 h44 v-31' /%3E%3C/g%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
}

.header-contact a {
	position: relative;
	display: inline-block;
	font-family: 'Jost', sans-serif;
	color: #B9C400;
	text-decoration: none;
	letter-spacing: .1rem;
	padding-left: 1rem;
}

.header-contact a:hover {
	color: #3A6274;
}

.header-contact a:before {
	content: '';
	position: absolute;
	bottom: .35rem;
	left: 0;
	width: .5rem;
	height: 1px;
	background-color: #B9C400;
}

.header-contact a:hover:before {
	background-color: #3A6274;
}

.read-more {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: #3A6274;
	font-family: 'Jost', sans-serif;
	letter-spacing: .1rem;
	font-weight: 700;
	padding-right: 1.1rem;
}

.read-more:hover {
	color: #B9C400;
}

.read-more:after {
	content: '';
	position: absolute;
	top: .55rem;
	right: 0;
	width: .75rem;
	height: .75rem;
	background-size: contain;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewbox='0 0 18 18'%3E%3Cpath d='M1,1 l14,8 l-14,8 z' fill='%233A6274' /%3E%3C/svg%3E") no-repeat center right;
}

.read-more:hover:after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewbox='0 0 18 18'%3E%3Cpath d='M1,1 l14,8 l-14,8 z' fill='%23B9C400' /%3E%3C/svg%3E") no-repeat center right;
}


.watermark-img {
	max-height: 200px;
	width: auto !important;
}

.timeline-col {
	padding: 1.5rem;
}

.timeline-item {
	border-left: 3px solid #B9C400;
}

.timeline-item:before {
	content: '';
	position: absolute;
	width: .9rem;
	height: .9rem;
	border-radius: 50%;
	background-color: #B9C400;
	left: -.5rem;
	top: 0;
}

.email-link a {
	font-size: 1.3rem;
}

.tel-link, .email-link a {
	text-decoration: none;
	color: #3A6274;
}

.tel-link:hover, .email-link a:hover {
	color: #B9C400;
}

.map-image:first-child {
	border-bottom: 3px solid #B9C400;
}

.map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.5);
	opacity: 0;
	transition: all .5s ease;
}

.map-overlay:hover {
	opacity: 1;
}
.sticky-button {
	position: fixed;
	bottom: 50px;
	right: 50px;
	z-index: 9999;
  }

  .sticky-button .button {
	background-color: #B9C400;
	color: #3A6274;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: 50px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease;
  }

  .sticky-button .button:hover {
	background-color: #A0AE00;
  }
  .footer-menu {
    text-align: center; /* Centers the menu horizontally */
    padding: 10px 0; /* Optional padding */
	margin-top: 20px;
}

.footer-menu .list-inline-item {
    margin-right: 15px; /* Adds some spacing between the items */
}

.footer-menu .list-inline-item:last-child {
    margin-right: 0; /* Removes right margin from the last item */
}

.footer-menu .nav-link {
    font-size: 16px; /* Decreases the font size */
}

.footer-menu .nav-link:hover {
    text-decoration: underline; /* Adds underline on hover */
}

@media (max-width: 768px) {
    .footer-menu .list-inline {
        display: flex;
        flex-direction: column; /* Stack the menu items vertically on small screens */
        align-items: flex-start; 
        padding: 20px;
    }

    .footer-menu .list-inline-item {
        margin: 5px 0; /* Adds spacing between items on mobile */
    }

    
}
  @media (max-width: 768px) {
	.sticky-button {
	  bottom: 30px;
	  right: 10px;
	}

	.sticky-button .button {
	  padding: 12px 18px;
	  font-size: 14px;
	}
  }
@media all and (min-width: 768px) {
	.map-image:first-child {
		border-right: 3px solid #B9C400;
		border-bottom: none;
	}
}

@media all and (min-width: 992px ) {
	.col-title {
		border-right: 3px solid #B9C400;
	}
	.timeline-item {
		border-left: none;
	}
	.timeline-col {
		padding: 0;
	}
	.timeline-item:before {
		left: -2.75rem;
	}
	.header-img img {
		max-height: 100vh;
		width: auto;
	} 	
}
@media (max-width: 1200px) {
	.full-height-desktop{
		display: flex;
		flex-direction: column;
	}
.full-height-desktop .header-row-h1{
	order:2;
}
.full-height-desktop .header-row-img{
	order:1;
	margin-top: 80px;
}
.full-height-desktop .offset-xl-2{
	margin: 0 auto;
  
}
.text-lg-start {
	text-align: center !important;
}
}
@media all and (min-width: 1200px) {
	.fancy-title:before {
		top: 2rem;
		height: 3px;
	}
	.fancy-title.display-6:before {
		top: 2.5rem;
		height: 3px;
	}
	.full-height-desktop {
		height: 100vh;
	}
	.header-logo img {
		width: 400px;
		height: 100px;
	}
	.full-height-desktop .h1{
		width: 550px;
	}
	.header-row-img {
		z-index: -1;
		position: absolute;
		right: 0;
		bottom: 0;
	}
	.text-lg-start {
        text-align: left !important;
    }
	.col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}
@media all and (min-width: 1900px) {
.full-height-desktop .offset-xl-2{
	margin-left: 16.66666667%;
  
}
}

.practice-intro {
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: contain;
}

.page-numbers {
	padding: 0 .3rem;
}

/*--------------------------------------------------------------
# #masthead #main-nav
--------------------------------------------------------------*/
.site-header {
	border-top: .8rem solid #B9C400;
	transition: top .5s ease;
}

/* .site-header.header-hide {
	top: -100%;
} */

.header-shift {
	margin-top: 92px;
}

.navbar-toggler {
	border: none;
}

.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='%23B9C400' 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='%23B9C400' 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 {
	margin-top: 1rem;
}

.navbar-nav .menu-item {
	text-align: center;
	font-family: 'Jost', sans-serif;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: .1rem;
}

.navbar-nav .nav-link {
	display: inline-block;
	position: relative;
	padding: .4rem;
	color: #B9C400;
}

.navbar-nav .nav-link:before {
	content:'';
	position: absolute;
	bottom: 1rem;
	left: -1rem;
	width: .7rem;
	height: 1px;
	background-color: #B9C400;
}

.navbar-nav .nav-link:hover {
	color: #3A6274;
}

.navbar-nav .nav-link:hover:before {
	background-color: #3A6274;
}

@media all and (min-width: 768px) {
	.navbar-toggler {
		position: absolute;
		left: 50%;
		margin-left: -27px;
		top: 13px;
	}
}

/*--------------------------------------------------------------
# .site-footer
--------------------------------------------------------------*/
.footer-logo {
	width: 252px;
	height: 63px;
	margin-bottom: 1rem;
}

.site-footer p, 
.site-footer span, 
.site-footer a {
	font-family: 'Jost', sans-serif;
}

.site-footer a {
	position: relative;
	display: inline-block;
	color: #3A6274;
	text-decoration: none;
	padding-left: 1rem;
	letter-spacing: .07rem;
}

.site-footer a.before-none {
	padding-left: 0;
}

.site-footer .map-overlay a {
	color: #FFF;
}

.site-footer a:before {
	content: '';
	position: absolute;
	bottom: .35rem;
	left: 0;
	width: .5rem;
	height: 1px;
	background-color: #3A6274;
}
.site-footer a.social-footer {
    position: static; /* or any value that suits your needs */
    padding-left: 0;
    color: inherit; /* Or specify the color you want */
    text-decoration: none; /* Or specify any other styles needed */
}
.site-footer a.before-none:before {
	display: none;
}

.site-footer .map-overlay a:before {
	background-color: #FFF;
}

.site-footer a:hover, .site-footer .map-overlay a:hover {
	color: #B9C400;
}

.site-footer a:hover:before, .site-footer .map-overlay a:hover:before {
	background-color: #B9C400;
}

.site-footer .menu {
	list-style-type: none;
	padding-left: 0;
}

/*--------------------------------------------------------------
# am cookie banner
--------------------------------------------------------------*/
#am-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	max-width: 300px;
	transition: all .5s ease;
}

#am-cookie-banner.banner-hide {
	bottom: -100%;
}

#am-cookie-banner p, #am-cookie-banner .form-check-label, #am-cookie-banner button {
	font-size: .9rem;
}

#am-cookie-banner .form-switch .form-check-input:not(disabled):checked {
	background-color: #6c757d;
}
