/*!
Theme Name: Recht Tirol
Theme URI: https://them.es/starter
Author: Martin Hammerschmidt
Author URI: https://www.martin-hammerschmidt.com
Description: Recht Tirol
Version: 3.6.3
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: rt
*/

/* Global frontend overrides. Shared ACF block styles live in /assets/blocks.css. */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

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

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition:
		filter 0.2s ease-in,
		-webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Site-specific global rules. Shared block tokens and fonts live in assets/blocks.css. */

html,
body {
	max-width: 100vw;
	width: 100vw;
	overflow-x: hidden;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--text-color);
	font-weight: 300;
	font-size: var(--text-size);
}

a {
  color: #3B749A;
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	color: var(--headline-color);
	font-size: var(--h2-size);
	font-weight: bold;
	margin-bottom: var(--h2-size);
}

h1,
.h1 {
	font-size: var(--h1-size);
	margin-bottom: 0;
}

.bg-blue {
	background-color: var(--color-blue) !important;
}

.text-blue {
	color: var(--color-blue) !important;
}

.btn,
.btn.btn-primary.wpcf7-submit,
.btn-primary{
	box-shadow: none !important;
	background: none;
	background-color: var(--color-blue);
	padding: 10px 15px;
	color: var(--color-white);
	border-radius: 4px;
	transition: all ease-in-out 0.5s;
	margin-top: calc(var(--h2-size) * 0.8);
	display: inline-block;
	font-weight: bold;
	text-decoration: none;
	border: none;
}

.btn:hover, .btn:focus-visible,
.btn.btn-primary.wpcf7-submit:hover, .btn.btn-primary.wpcf7-submit:focus-visible,
.btn-primary:hover, .btn-primary:focus-visible {
	box-shadow: none !important;
	background: none;
	background-color: var(--color-blue);
	filter: brightness(1.5);
	color: var(--color-white);

}

.btn:focus-visible,
.btn.btn-primary.wpcf7-submit:focus-visible,
.btn-primary:focus-visible {
  outline: 0!important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25)!important; /* Bootstrap primary */
}

/* page hero */

.page-hero {
	height: 60vh;
	min-height: 800px;
	color: var(--color-white) !important;
	position: relative;
	display: flex;
	justify-content: end;
	align-items: end;
	background-position: top center;
	background-color: var(--color-blue);
	background-size: cover;
}

.page-hero h1 {
	color: var(--color-white);
	font-weight: bold;
}

.page-hero:before {
	content: "";
	height: 100%;
	width: 100%;
	background-color: var(--hero-background-color);
	position: absolute;
	z-index: 1;
}

.front-hero {
	height: 90vh;
	min-height: 800px;
	color: var(--color-white) !important;
	background-position: bottom center;
}

@media all and (max-width: 500px){
	.page-hero{
		min-height: 400px;
		hyphens: auto;
	}
	.front-hero {
		min-height: 500px;
		hyphens: auto;
	}
}



.hero-justtext{
	height: 40vh;
	min-height: 350px;
		color: var(--color-white) !important;
	background-position: center center;
}

h1 span {
	display: block;
	font-weight: 300;
	font-size: var(--h2-size);
}

#main {
	margin-top: 0;
}

strong{
	font-weight: bold;
}
/*nav*/

header {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 999;
}

.navbar-toggler {
	border: none;
	color: white;
}

.site-logo {
	height: 175px;
	width: 175px;
}

.desktop-menu a.nav-link {
	color: var(--color-white) !important;
}


button.pb-offcanvas__close {
	background: transparent;
	border: none;
	padding: 10px;
}

.current-menu-item, .current_page_item{
	font-weight: bold;
}

.mobilemenutext{
	font-size: calc( var(--h2-size) * 0.8);
}

/*floating contact*/

.floating-contact {
	position: fixed;
	right: 0;
	bottom: 0;
	justify-content: center;
	align-items: bottom;
	flex-direction: column;
	padding: 15px;
	z-index: 200;
}

.floating-contact a {
	width: 60px;
	height: 60px;
	border-radius: 40px;
	background-color: var(--color-blue);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
	border: 1px solid var(--color-white);
	color: var(--color-white);
}

/*footer*/

#footer {
	z-index: 300;
	position: relative;
}

#footer .text-white a {
	color: white !important;
}

.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
a:focus-visible,
*:focus-visible {
  outline: 2px solid #fff!important;
  outline-offset: 2px!important;
  box-shadow: 0 0 0 4px #000!important;
}
