/*
stylesheet for praxis-fuer-koerpertherapien.ch
updated: 2024-04-25
*/

/* Typography */

$flyout: 600px;

body {
	color: black;
	font-size: 12px;
}

body,
#address {
	font-family: Arial, sans-serif;
	font-size: 12px;
}

h1,
#header,
#menu {
	font-family: Garamond, 'Times New Roman', 'Times Roman', serif;
	font-weight: normal;
}

#menu a,
#menu a:visited {
	text-decoration: none;
}

h1, {
	font-size: 2em;
}

h2 {
	font-size: 1em;
}

#menu {
	font-size: 1.3em;
}

#title1 {
	font-size: 3em;
}

#title2 {
	font-size: 2em;
}


/* Colors */

body {
	color: black;
}

h1,
#header,
#menu a,
#menu a:visited {
	color: #036; /* blue */
}

#menu a:hover,
#menu li.active a {
	color: #930; /* red */
}

#address {
	color: white;
}


/* Others */

html {
	height: 100%;
}

body {
	height: 100%;
	margin: 0;
	background: url('../img/bg_body.gif');
	background-position: 0 112px;
	background-repeat: repeat-x;
}

h1 {
	width: 100%;
	margin: 0 0 1em 0;
	border-bottom: 1px #ccc solid;
}

h2 {
	margin-top: 2em;
}

table {
	padding: 0;
}

th {
	text-align: left;
}

td {
	border-bottom: 1px #ccc dotted;
	padding: 5px 0;
	vertical-align: top;
}

#center {
	min-height: 100%;
	margin: 0;
	background-color: white;
}

#content_area,
#footer {
	border-left: 1px #ddd solid;
	border-right: 1px #ddd solid;
}

#header {
	height: 180px;
	margin-bottom: 30px;
	background: url('../img/bg_header.png') no-repeat bottom;
}

#logo1 {
	width: 153px;
	position: relative;
	top: 13px;
	left: 30px;
	float: left;
}

#logo2 {
	width: 100%;
	position: relative;
	top: 40px;
	left: 0px;
	text-align: right;
}

#wrap {
	margin-right: 70px;
}

#title1{
	
}

#address {
	position: absolute;
	top: 85px;
	right: 0;
}

#center {
	margin: 0 auto;
	height: 100%;
	max-width: 900px;
}

#menu {
	float: left;
}

#menu button {
	background: none;
	border: 0;
	position: absolute;
	right: 10px;
	top: 10px;
}

#menu ul {
	margin: 0;
	margin-left: 60px;
	padding: 0;
	list-style: none;
}

#menu li {
	padding: 0.3em 0;
}

#content,
#copyright {
	margin: 0 70px 0 30%;
}

#content {
	min-height: 120%;
	padding-bottom: 4em;
}

#box {
	width: 30%;
	margin: 1em;
	float: left;
}

.content-box-50 {
	width: 50%;
	float: left;
	display: inline-block;
}

.content-box-50 div {
	margin: 5px;
	padding: 15px;
	border: 1px solid #ccc;
}

.content-box-50 h2 {
	margin-top: 1em;
	font-family: Garamond, 'Times New Roman', 'Times Roman', serif;
	font-weight: normal;
	font-size: 1.5em;
}

#footer {
	max-width: 898px;
	height: 83px;
	background: url('../img/bg_footer.png') repeat-x bottom;
}

#copyright {
	position: relative;
	top: 50px;
}

#angel {
	position: relative;
	margin-left: 790px;
	top: -20px;
}

.clearfloat {
	clear: both;
}

.rl
{
    unicode-bidi: bidi-override;
    direction: rtl;    
}

.hd
{
    display: none;
}


/* For small screens */

/* was 854px */
@media screen and (max-width: 1080px) {
	body {
		font-size: 16px;
	}
	#title1 {
		font-size: 2.6em;
	}
	#title2 {
		font-size: 2.2em;
	}
	#address {
		position: absolute;
		top: 85px;
	}
	#angel {
		float: right;
		margin-left: 0;
		margin-right: 15px;
	}
}

/* was 753px */
@media screen and (min-width: 1081px) {
	#mobile-menu-control-wrapper,
	.menu-toggle {
		display: none;
	}
	/* new */
	.nav-toggle {
		display: none;
	}
}

/* was 752px */
@media screen and (max-width: 1080px) {
	body {
		background: none;
	}
	#menu-main-menu {
		font-size: 1.5em;
	}
	
	/* new */
	.nav-toggle {
		position: absolute;
		top: 10px;
		right: 10px;
	}
	#nav-toggle {
		display: none;
		opacity: 0;
		position: absolute;
		top: 10px;
		right: 40px;
	}
	.nav-wrapper label {
		height: auto;
		position: absolute;
		top: 10px;
		right: 10px;
	}
	.nav-wrapper span {
		vertical-align: top;
	}
	.menu {
		height: 100%;
		position: fixed;
    	right: -100%;
    	top: 20px;
		width: $flyout;
		z-index: 1000;
	}
	#nav-toggle ~ label .toggle-option-close {
		display: none;
	}	
	#nav-toggle:checked ~ label .toggle-option-menu {
		display: none;
	}
	#nav-toggle:checked ~ label .toggle-option-close {
		display: block;
	}
	#nav-toggle:checked ~ .menu {
		/* Slides the nav out */
		transform: translateX(-100vw);
	}
	.menu {
    	cursor: pointer;
		background-color: #efefef;
		transition: .53s transform;
		transition-timing-function: cubic-bezier(.38,.52,.37,1);
	}
	.menu ul {
		padding: 0;
		margin: 0;
	}
    .menu li {
		list-style: none;
	}
	.menu a {
		border-bottom: 1px solid #ccc;
		color: grey;
		display: block;
		font-size: 1em;
		padding: 15px;
		text-decoration: none;
	}
	#title1 {
		font-size: 2.3em;
	}
	#title2 {
		font-size: 2em;
	}
	#address {
		font-size: 1.1em;
		left: 154px;
		line-height: 1.4em;
	}
	#content_area, #footer {
		border: 0;
	}
	#content {
		margin: 20px;
	}
}

@media screen and (max-width: 659px) {
	#title1 {
		font-size: 1.9em;
	}
	#title2 {
		font-size: 1.7em;
	}	
}

@media screen and (max-width: 600px) {
	#header {
		margin-bottom: 20px;
	}
	#content {
		margin: auto 20px;
		padding-bottom: 1em;
	}
	#logo1 {
		left: 0;
		top: 5px;
	}
	#logo2 {
		top: 20px;
	}
	#title1 {
		font-size: 1.7em;
	}
	#title2 {
		font-size: 1.5em;
	}
	#address {
		font-size: 1.1em;
		left: 154px;
		line-height: 1.4em;
		position: absolute;
		top: 100px;
	}
	h1 {
		border: 0;
	}
	h2 {
		font-size: 1.5em;
	}
	p {
		font-size: 1.4em;
		line-height: 1.3em;
	}
	p,
	#copyright {
		color: #333;
	}
	#copyright {
		font-size: 1.1em;
		margin: auto 20px;
	}
}

@media screen and (max-width: 570px) {
	#address {
		top: 97px;
	}	
	#address .divider.break {
		display: none;
	}
	.address.phone {
		display: block;
	}
}

@media screen and (max-width: 570px) {
	#title1,
	#title2 {
		font-size: 1.4em;
	}
	#address {
		font-size: 1em;
	}
}