/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v36-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v36-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v36-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v36-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	background: rgba(255,255,255,1);
	color: rgba(0,116,150,1);
	font-size: 17px;
    line-height: 1.5em;
}

#header {
	position: relative;
	max-width: 780px;
	margin: 0 auto;
	padding: 0;
}

.logo {
	width: 440px;
	height: 150px;
	margin: 0;
	padding: 0;
	background: url(../images/logo_large.png) no-repeat;
	text-indent: -9999px;
}

#wrapper {
	position: relative;
	max-width: 780px;
	margin: 0 auto;
	padding: 0;
}

#content {
	display: table;
	margin: -1px 0 0 0;
	padding: 0;
}

#menu {
	display: table-cell;
	vertical-align: top;
	width: 168px;
	margin: 0;
	padding: 0 0 260px 0;
	background: url(../images/ornament.png) no-repeat center bottom rgba(0,116,150,1);
	font-size: 15px;
    line-height: 1.5em;
}

input#menubutton {
	display:none
}

label.menubutton { 
	display:none
}

nav.mainmenu {
    height: auto; 
    max-height: 600px; 
    overflow: hidden; 
    transition: all 0.5s;
}

nav.mainmenu ul {
	margin: 0;
	padding: 60px 0 0 0;
	list-style: none;
}

nav.mainmenu a {
	display: block;
	padding: 10px 5px;
	color: rgba(255,255,255,1);
	text-decoration: none;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}

nav.mainmenu a:hover {
	background: rgba(148,22,128,1);
}

nav.mainmenu a.selected {
	background: rgba(255,255,255,1);
	color: rgba(0,116,150,1);
}

#article {
	display: table-cell;
	vertical-align: top;
	width: auto;
	margin: 0;
	padding: 0 20px 60px 20px;
}

#article h1 {
	font-size: 24px;
    line-height: 1.5em;
}

#article h2 {
	font-size: 17px;
    line-height: 1.5em;
}

#article h3 {
	font-size: 17px;
    line-height: 1.5em;
}

#article p {
	hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
}

#article a {
	color: rgba(148,22,128,1);
	text-decoration: none;
}

#article img.left {
	width: auto;
	height: auto;
	max-width: 100%;
	margin: 20px 0 20px -20px;
	padding: 0;
	border: 0;
}

#article img.fullwidth {
	width: 100%;
	height: auto;
	margin: 20px 0 20px -20px;
	padding: 0;
	border: 0;
}

#article img.plan {
	width: 100%;
	height: auto;
	margin: 20px 0;
	padding: 0;
	border: 0;
}

#article dt h2 {
	margin:  0 0 1em 0;
	padding: 0 0 0 1.5em;
	font-size: 17px;
	color: rgba(148,22,128,1);
	background: url(../images/square.png) no-repeat left center;
	cursor: pointer;
}

#article dd {
	display: none;
	margin: 0;
	padding: 0 0 1em 0;
}

#article dd p,
#article dd h3 {
	margin: 0 0 1em 0;
}

#article form {
	margin: 0;
	padding: 2em 0;
}

#article fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#article label {
	display: block;
	margin: 1em 0 0.5em 0;
	}

#article input.text {
	display: block;
	width: 90%;
	max-width: 60em;
	height: auto;
	overflow: hidden;
	margin: 0;
	padding: 0.5em;
	color: rgb(0,0,0);
	border: 1px solid rgba(204,204,204,1);
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1em;
}

#article textarea {
	display: block;
	width: 90%;
	max-width: 60em;
	height: auto;
	min-height: 6em;
	overflow: hidden;
	margin: 0;
	padding: 0.5em;
	color: rgba(0,0,0,1);
	background: rgba(255,255,255,1);
	border: 1px solid rgba(204,204,204,1);
    font-family: 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    font-size: 1em;
}

#article input.button {
	display: block;
	color: rgba(255,255,255,1);
	background: rgba(148,22,128,1); 
	margin: 1.5em 0 0 0.5em;
	font-size: 1em;
	padding: 0.5em 1em;
	text-decoration: none;
	height: auto;
	width: auto;
	border: 1px solid rgba(148,22,128,1);
	box-shadow: inset 2px 2px 5px -2px rgba(255,255,255,0.5), 1px 1px 3px -1px rgba(0,0,0,0.5);
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-ms-border-radius: 0.5em;
	-o-border-radius: 0.5em;
	transition: all 0.8s ease;
	-webkit-transition: all 0.8s ease;
	-moz-transition: all 0.8s ease;
	-ms-transition: all 0.8s ease;
	-o-transition: all 0.8s ease;
}

#article input.button:hover,
#article input.button:focus {
	box-shadow: inset 2px 2px 5px -2px rgba(0,0,0,0.5), 1px 1px 3px -1px rgba(255,255,255,0.5);
}

#article .error_text { 
	padding: 1em 0;
	color: rgba(255,0,0,1);
}

#footer {
	display: none;
}

@media screen and (max-width: 720px) {

	.logo {
		width: 280px;
		height: 110px;
		margin: 0 20px;
		background: url(../images/logo_small.png) no-repeat;
	}

	#menu {
		display: block;
		width: 100%;
		padding: 0;
		background: rgba(255,255,255,1);
	}

	label.menubutton { 
	   display: block;
	   width: 45px;
	   height: 50px; 
	   position: relative; 
	   margin: 0 20px;
	}

	.line { 
	   position: absolute; 
	   display: block; 
	   width: 45px; 
	   height: 5px; 
	   background: rgba(148,22,128,1); 
	   transform-origin: center; 
	   transition: 0.5s ease; 
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
	}

	.line:nth-child(1) { top: 12px; }
	.line:nth-child(2) { top: 24px; }
	.line:nth-child(3) { top: 36px; }

	#menubutton:checked + .menubutton .line:nth-child(1){
	   transform: translateY(12px) rotate(-45deg);
	}

	#menubutton:checked + .menubutton .line:nth-child(2){
	   opacity:0;
	}

	#menubutton:checked + .menubutton .line:nth-child(3){
	   transform: translateY(-12px) rotate(45deg);
	}

	nav.mainmenu { 
		max-height:0; 
	}

	#menubutton:checked + .menubutton  + nav.mainmenu { 
		max-height: 600px; 
	}

	nav.mainmenu ul {
		padding: 0 20px;
	}
	
	nav.mainmenu a {
		display: block;
		margin: 5px 0;
		padding: 10px;
		background: rgba(0,116,150,1);
		color: rgba(255,255,255,1);
	}

	nav.mainmenu a:hover{
		background: rgba(204,227,234,1);
		color: rgba(0,116,150,1);
	}

	nav.mainmenu a.selected {
		background: rgba(148,22,128,1);
		color: rgba(255,255,255,1);
	}

	#article {
		display: block;
	}

	#article img.left {
		margin: 20px 0 20px 0;
	}

	#article img.fullwidth {
		margin: 20px 0 20px 0;
	}

	#footer {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0; 
		text-align: right; 
		background: rgba(0,116,150,1);
	}

	#footer img {
		width: 36px;
		height: 24px;
		margin: 0;
		padding: 10px 20px;
		border: 0;
	}

}
