/*

Theme Name: Schmerzfrei-Bewegen
Author: Alexander Hohenecker [ah@code-r.at]
Description: Custom theme created for Schmerzfrei-Bewegen.com based on designs by Kilvia Rodrigues
Version: 0.2

Primary color: #468ab8 (blue)
Secondary color: #64b6b7 (turquoise)
Teritary color: #c5dcf3 (ice blue)
#d8ecec -> #ecf3f3

RJQ64W

*/

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/nunitosans/v19/pe0TMImSLYBIv1o4X1M8ce2xCx3yop4tQpF_MeTm0lfGWVpNn64CL7U8upHZIbMV51Q42ptCp7t4R-tCKQ.woff2) format('woff2');
    unicode-range: U +0460 -052F, U +1C80 -1C8A, U +20B4, U +2DE0 -2DFF, U + A640-A69F, U + FE2E-FE2F;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/quicksand/v37/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2) format('woff2');
    unicode-range: U +0102 -0103, U +0110 -0111, U +0128 -0129, U +0168 -0169, U +01A0 -01A1, U +01AF -01B0, U +0300 -0301, U +0303 -0304, U +0308 -0309, U +0323, U +0329, U +1EA0 -1EF9, U +20AB;
}

BODY {
	background: #2E3B4230;
	color: black;
	font-family: 'Nunito Sans',system-ui, sans-serif;
	margin-top: 0;
}

DIV#page {
	background: #EAF1F4;
	width: 1100px;
	margin: 0 auto;
	box-shadow: 0px 0px 12px 0px #00000080;
}

NAV {
	background: #468ab8cc;
	color: #fff;
	padding: 2em 2em;
}

NAV UL {
	list-style: none;
    display: flex;
    padding-left: 0;
    width: 100%;
    justify-content: space-around;
}

NAV a:link, NAV a:visited {
	color: #fff;
	text-decoration: none;
}

NAV LI {
	background: #64b6b7;
    border-radius: 2em;
	white-space: nowrap;
	font-weight: bold;
}

NAV LI a {
	display: inline-block;
    padding: 0.5em 2em;
}

NAV LI:hover {
	background: #64b6b7;
}
NAV LI:hover a {
	color: white;
}
NAV LI.current-menu-item {
	background: #00000040;
}

DIV#banner {
	background-image: url("/wp-content/uploads/Eva-mit-offenen-Haenden.jpg");
	background-size: cover;
	height: 40em;
}

DIV#banner DIV.logo {
	height: 10em;
	position: absolute;
	top: 11em;
}

DIV#banner DIV.logo IMG {
	height: 10em;
}

HEADER H1 {
    text-align: right;
    margin-top: 0em;
    color: #fff;
    padding: 0.6em;
    padding-right: 2em;
    /*background-image: url(/wp-content/uploads/White%20Shape%201.2.png);*/
    background: #64b6b7;
    background-size: cover;
	background-position: center;
    border-bottom-right-radius: 2em;
    margin-bottom: 3em;
}

HR.wp-block-separator {
	border-top: 3px solid #102632;
    margin-bottom: 2em;
}


SECTION#content {
	padding: 0 4em;
	font-size: large;
}

SECTION#content > DIV {
	margin-bottom: 3em;
	background: white;
	border-radius: 26px;
    padding: 24px;
    display: flex;
    gap: 22px;
    align-items: center;
    position: relative;
    font-size: 16px;
}

SECTION#content > DIV > P {
	texts-align: left;
	padding-left: 2em;
	padding-right: 2em;
	width: stretch;
}


SECTION#content H1, SECTION#content H2, SECTION#content H3 {
	color: rgb(92, 143, 189);
	font-family: Quicksand, sans-serif;
	font-weight: 600;
}

SECTION#content a:link, SECTION#content a:visited {
	color: #006ba1;
	font-weight: bold;
}
SECTION#content > .wp-block-heading {
	text-align: center;
	margin-bottom: 2em;
}

DIV.uher-profile IMG {
	aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 6px solid #64b6b7
}

DIV.telemed-block DIV {
	align-content: center;
}

SECTION.services-list {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 22px;
    margin-top: 2em;
    margin-bottom: 2em;
}

SECTION.services-list a {
	text-decoration: none;
	flex-basis: 20%;
}

DIV.services-item {
    border-radius: 24px;
    background: white;
    padding: 22px;
    border: 3px solid white;
    text-align:center;
}

SECTION.services-list a:link .services-item:hover,
SECTION.services-list a:visited .services-item:hover {
	border: 3px solid rgb(92, 143, 189);
}

DIV.services-item IMG {
	height:4em;
}

DIV.services-item H3 {
	margin-top: 22px;
	text-align: center;
	height: 3.5em;
	align-content: center;
	font-size: 16px;
	margin-top:0;
}

DIV.services-item DIV.text {
	padding: 1em 1.5em;
    padding-bottom: 0.5em;
}

.contact-container { gap: 6em; }
.contact-info { font-size: larger; }

SECTION#content DIV.article-spotlight {
    padding:0;
}
.article-spotlight FIGURE {
	flex-basis: 40%;
}
.article-spotlight IMG {
	object-fit: cover;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 26px 0 0 26px;
}
.bbiz-promo FIGURE {
	flex-basis: 100%;
}

#text-layout {
	border-radius: 2em;
    overflow: hidden;
	text-align: justify;
    color: #144b48;
	margin: 0 2em;
}
.text-layout-image {
	width: 100%;
    max-height: 25em;
    object-fit: cover;
}


#maps-embed { 
	border: 0;
    width: 100%;
    height: 20em;
    border-radius: 1em;
}

FOOTER {
	background: rgb(92, 143, 189);
	color: white;
	text-align: center;
	padding: 1em 2em;
    margin-top: 6em;
    background-image: url(/wp-content/uploads/2026/08/footer-bg.png);
    background-repeat: no-repeat;
    background-position: right;
}

FOOTER a:link, FOOTER a:visited {
	color: white;
	font-weight:bold;
	text-decoration: none;
}
FOOTER a:hover {
	color: white;
}

FOOTER UL {
	list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
}
FOOTER UL LI {
	padding: 0 0.5em;
}

FOOTER .lang-item-en {
	display: none;
}

#footer_social {
	display: flex;
    justify-content: space-around;
    width: 25em;
    margin: 0 auto;
	flex-wrap: wrap;
	margin-bottom: 3em;
	display: none;
}

#footer_social H2 {
	flex-basis: 100%;
	font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 1.5em;
}

#footer_social SPAN {
	padding: 0.5em;
    border: 3px solid #91b08c;
    color: #91b08c;
    font-size: 2em;
    vertical-align: bottom;
    border-radius: 20%;
    display: inline-block;
    width: 1em;
    height: 1em;
}

IFRAME#telemed {
	height: 30em;
	width: 100%;
	border: none;
	box-shadow: 0px 0px 12px -4px #00000080;
}

/* header fix for service pages */
BODY.page-id-53 DIV#banner,
BODY.page-id-59 DIV#banner,
BODY.page-id-184 DIV#banner,
BODY.page-id-57 DIV#banner,
BODY.page-id-186 DIV#banner,
BODY.page-id-49 DIV#banner,
BODY.page-id-182 DIV#banner,
BODY.page-id-180 DIV#banner,
BODY.page-id-61 DIV#banner {
	background-size: auto;
    height: 20em;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-color: white;
}

@media (max-width: 1200px) {
    DIV#page { width: 100%; }
    NAV { padding: 1em; }
    NAV UL {
    	flex-wrap: balance;
    	justify-content: center;
    	gap: 0.5em;
    	margin: 0;
    }
}

@media (max-width: 900px) {
	SECTION.services-list a { flex-basis: 30%; }
	.article-spotlight FIGURE { flex-basis: 60%; }
}

@media (max-width: 750px) {
	DIV#banner DIV.logo { top: 14em; }
	DIV#banner { height: 25em; }

	SECTION#content > DIV { flex-direction: column; }	
	SECTION#content > DIV.wp-block-media-text FIGURE {
		width: 50%;
		flex-basis: auto;
	}
	.article-spotlight FIGURE { 
		border-radius: 26px;
    	margin-top: 22px; 
    }
    SECTION.services-list a { flex-basis: 40%; }
}
