/*
Theme Name: Easy Ambulanz
Theme URI: https://easy.ambulanz.de
Author: Top The Web GmbH
Author URI: https://toptheweb.de
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body.page-template-default p, body.page-template-default li {
    font-size: 1.1rem;
    line-height: 1.6;
}


body.page-template-default header {
	position: sticky;
	top: 0;
	z-index: 100;
}
body.page-template-default.admin-bar header {
	top:32px
}

.header-phone a {
	text-decoration: none;
	color: inherit;
}

.header-phone {
	display: flex;
	align-items: center;
	justify-content: end;
	margin-bottom: 11px !important;
	margin-top: 0 !important;
	gap: 10px;
}

.gg-phone {
   box-sizing: border-box;
   position: relative;
   display: inline-block;
   width: 22px;
   height: 22px;
   transform: scale(var(--ggs,1))
}
.gg-phone::after,
.gg-phone::before {
   content: "";
   display: block;
   box-sizing: border-box;
   position: absolute
}
.gg-phone::after {
   width: 18px;
   height: 18px;
   border-top-left-radius: 1px;
   border-bottom-right-radius: 1px;
   border-bottom-left-radius: 12px;
   border-left: 4px solid;
   border-bottom: 4px solid;
   left: 2px;
   bottom: 2px;
   background:
      linear-gradient(
         to left,
         currentColor 10px,
         transparent 0
      ) no-repeat right 11px/6px 4px,
      linear-gradient(
         to left,
         currentColor 10px,
         transparent 0
      ) no-repeat -1px 0/4px 6px
}
.gg-phone::before {
   width: 20px;
   height: 20px;
   border: 6px double;
   border-top-color: transparent;
   border-bottom-color: transparent;
   border-left-color: transparent;
   border-radius: 50%;
   transform: rotate(-45deg);
   bottom: 2px;
   left: 2px
}

body.page-template-default h1 {
	font-size: 2.8rem;
	font-weight: 500;
}

body.page-template-default header {
	position: sticky;
}

body > p:has(.rank-math-schema) {
	display: none;
}

.more-gap {
	gap: 30px;
}

.service-list {
    display: grid;
    grid-template-columns: 4fr 2fr;
    list-style: square;
    padding: 17px;
}

.margin-reset {
	margin: 0 !important;
}

.gap-reset {
	gap: 0 !important;
}

.content-wrapper {
    max-width: 820px;
    margin: 0 auto;
	padding: 45px;
}

.wp-block-navigation .wp-block-navigation-item {
	margin-left: 25px;
}
.wp-block-navigation .wp-block-navigation-item.current-menu-item {
    border-bottom: solid 2px;
    margin-top: 3px;
}
div.wpforms-container-full .wpforms-form input.wpforms-field-medium,div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium{
	max-width: 100% !important;
}

.line-height-0 {
    line-height: 0 !important;
	margin-top: 8px;
    margin-bottom: 50px;
}

@media(max-width: 800px) {
	body.page-template-default p {
		font-size: 1rem;
	}
	body.page-template-default h1 {
		font-size: 1.8rem;
	}
	.service-list {
		grid-template-columns: 1fr;
	}
	.header-phone {
		display: none;
	}
}

h1,h2,h3,h4 {
	margin-top: 0;
}