/* Stylesheet for Nextseventeen theme by Johannes Bouchain */


/* layout */

html, body {
	height:100%;
	width:100%;
}

body {
	text-align:center;
	min-width:320px;
	background: #f9f9f9;
	background-attachment:fixed;
	background-size:cover;
}

#page a {
	color: #666666;
	font-weight:bold;
	text-decoration:none;
	outline:none;
}

h1, h2, h3, h4, h5, h6, h7, h8, h9 {
	line-height:1.2em;
}

#page a:hover,
#page a:focus,
#page a:active {
	color: #999999;
	outline:none;
	text-decoration:none;
}

.column {
	float:left;
	width:31%;
	/* max-width: ;
	margin: ; */
	box-sizing:border-box;
	display:block;
}

.column:first-child {
	margin-left:0;
}

.column:last-child {
	margin-right:0;
}

.column-group:after {
	display:block;
	content:" ";
	clear:both;
}

@media screen and (max-width:767px) {
	.column {
		float:none;
		margin:0;
		padding:10px 0;
	}
}

/* hide */
.screen-reader-text,
.menu-toggle {
	position:absolute;
	top:-10000px;
	left:-10000px;
}

.screen-reader-text {
	height:0;
	width:0;
	overflow:hidden;
}

@media screen and (max-width:767px) {
	input[type="text"],
	input[type="url"],
	input[type="email"],
	input[type="password"],
	select,
	option {
		font-size:16px !important;
	}
}

/* page */

#page {
	max-width: 100%;
	min-width:320px;
	margin:0 auto;
	color: #333333;
	background: #ffffff;
	min-height: 100%;
	box-sizing: border-box;
	font-size: 18px;
	font-family: Montserrat,sans-serif;
	line-height: 1.2em;
	overflow: hidden;
}

/* header */

header.site-header {
	position:fixed;
	width: 100%;
	max-width:100%;
	z-index:3;
	padding:10px;
	background: #ffffff;
	background-image:url();
	background-position: top left;
	background-repeat: no-repeat;
	padding-top: 0px;
	}

header.site-header h1.site-title {
	padding:0 10px 10px;
	margin:0 auto;
	text-align: left;
	position: absolute;
	left: 10px;
	top: 10px;
}

header.site-header h1 a {
	display:block;
	margin:auto;

}

header.site-header h2.site-description {
	font-size:105%;
	color: #333333;
}

/* top menu and social media menu */
#topmenu-box {
	text-align:right;
	padding-bottom:3px;
	padding-left: 200px;
}

#topmenu-box nav, 
#topmenu-box ul,
#topmenu-box div,
#topmenu-box li {
	display:inline;
}

#topmenu-box ul {
	padding:0;
	margin:0;
}

#topmenu-box  li {
	display:inline;
	font-size:13px;
	padding-left:8px;
}

#topmenu-box a {
	color: #999999;
	font-weight: 300;
	white-space: nowrap;
}

nav.top-navigation li.current-menu-item a {
	color: #666666;
}


#topmenu-box li a:hover,
#topmenu-box li a:focus,
#topmenu-box li a:active {
	text-decoration: none;
	color: ; }

#topmenu-box h3 {
	font-size:13px;
	display:inline;
	color: #999999;
	font-weight:300;
}

#topmenu-box h3.not-logged-in {
	display:none;
}

#topmenu-box nav.social-media-navigation li {
	padding-left:9px;
}

#topmenu-box nav.social-media-navigation li a {
	color: #666666;
	font-weight:300;
	font-size:15px;
	white-space:nowrap;
}

#topmenu-box nav.social-media-navigation li a:hover,
#topmenu-box nav.social-media-navigation li a:focus,
#topmenu-box nav.social-media-navigation li a:active {
	text-decoration:none;
	color: #999999;
}

/* main menu */
#page nav.main-navigation {
	margin:0;
	margin-top: px;
	padding:0 200px;
}

#page nav.main-navigation ul {
	margin:0;
	padding:0;
}

#page nav.main-navigation li {
	display:inline;
	padding:0 5px;
}

#page nav.main-navigation li a.currentLink {
	color: #666666;
}

#page nav.main-navigation li a {
	color: #666666;
	font-weight:300;
	white-space:nowrap;
	font-size:90%;
}

#page nav.main-navigation li a:hover,
#page nav.main-navigation li a:focus,
#page nav.main-navigation li a:active {
	text-decoration:none;
	color: #999999;
}

/* main menu mobile */
@media screen and (max-width:767px) {
	header.site-header {
		text-align:right;
		position:relative;
		background-image: url();
		background-image: url();
		background-position: top left;
		background-repeat: no-repeat;
		padding-top: 0px;
		padding-top: 0px;
			}
	header.site-header h1.site-title {
		font-size:110%;
	}
	header.site-header h1.site-title a {
		float:left;
		}
	header.site-header h2.site-description {
		display:none;
	}
	#page nav.main-navigation  {
		display:inline;
		padding:0;
	}
	#page nav.main-navigation ul {
		text-align:right;
		margin-bottom:0;
		display:none;
	}
	#page nav.main-navigation button.menu-toggle {
		position:relative;
		top:auto;
		left:auto;
		display:inline-block;
		text-align:right;
		font-size:0;
		padding:2px;
		background:none;
		border:none;		
	}
	#page nav.main-navigation button.menu-toggle::before {
		font-family:"dashicons";
		display:inline-block;
		content: "\f333";
		font-size:32px;
		line-height:1em;
		color: #666666;
	}
	#page nav.main-navigation button.menu-toggle:hover::before {
		color: #999999;
	}
	#page nav.main-navigation li {
		display: block;
		width: 100%;
		text-align: center;
		border:1px solid #ffffff;
		border-bottom: none;
		background: #f0f0f0;
	}
	#page nav.main-navigation li:last-child {
		border-bottom:1px solid #ffffff;
	}
	#page nav.main-navigation li a {
		display:block;
		padding:8px 3px;
		color:black;
	}
}

/* site teaser (used on onepager start page) */
#site-teaser {
	background: #ffff33;
	color: #333333;
	max-width:100%;
	overflow:hidden;
}

#site-teaser a {
	color: #666666;
}

#site-teaser .site-teaser-image.fullsize .before {
  padding-top:0 !important;
}

#site-teaser .site-teaser-image.fullsize img {
  max-height:87vh;
  max-width:100%;
}

#site-teaser a:hover,
#site-teaser a:focus,
#site-teaser a:active {
	color: #999999;
}

#site-teaser .siteteaser-text {
	padding:20px;
	margin:0 auto;
	max-width: 700px;
	box-sizing:border-box;
}

#site-teaser .siteteaser-text p,
#site-teaser .siteteaser-text ul,
#site-teaser .siteteaser-text ol,
#site-teaser .siteteaser-text table {
	text-align:left;
}

#site-teaser .siteteaser-text h1 {
    max-width: 700px;
    width: auto;
    display: inline-block;
    color: #333;
    margin: 10px auto 35px;
    padding: 8px;
    font-size: 160%;
}

#site-teaser .siteteaser-text p,
#site-teaser .siteteaser-text ul,
#site-teaser .siteteaser-text ol,
#site-teaser .siteteaser-text table {
	padding-bottom:15px;
	line-height:1.45em;
	font-weight:300;
}

.intro-text {
	font-size:120%;
}

/* content */
article {
	max-width:1280px;
	margin:auto;
	position:relative;
}
#content .pagebox.full-map article,
body.page-template-page-map article {
	max-width:100%;
}
#content {
	padding:50px 20px;
	box-sizing:border-box;
	position:relative;
	width:100%;
	overflow:hidden;
}
@media screen and (max-width:767px) {
	#content {
		padding:15px;
	}
}

#primary {
	position:relative;
	padding:0;
	margin:0;
}

body.onepage #content {
	padding:0;
	min-height:auto;
}

#content h1.entry-title,
#content h1.page-title {
	max-width: 700px;
	width:auto;
	display:inline-block;
	color: #333333;
	margin:10px auto 35px;
	padding:8px;
	font-size:160%;
}

#content h1.entry-title a {
	color: #333333;
}

@media screen and (max-width:767px) {
	#content h1.entry-title {
		font-size:120%;
	}
}
	
#content .entry-content,
#content .entry-summary,
#content .page-content {
	max-width: 700px;
	margin:0 auto;
	text-align:left;
}

body.page-template-page-map #content {
	padding:0;
}

body.page-template-page-fullwidth #content .entry-content,
body #content .pagebox.page-template-page-fullwidth .entry-content,
body.page-template-page-map #content .entry-content {
	max-width:100%;
}

body #content .pagebox.page-template-page-fullwidth .entry-content .textblock {
	text-align:center;
}

body #content .pagebox.page-template-page-fullwidth .entry-content .textblock-inner {
	text-align:left;
	margin:auto;
	max-width: 700px;
}

#content .entry-content .entry-image {
	padding:20px 0;
	text-align:center
}

#content .entry-content .entry-image img {
	max-width:100%;
	max-height:550px;
	height:auto;
}

#content p,
#content ul,
#content ol,
#content table {
	padding-bottom:15px;
	line-height:1.45em;
	font-weight:300;
}

#content table td {
	vertical-align:top;
}

@media screen and (max-width:767px) {
	#content table, #content tbody, #content tr, #content th, #content td {
		display:block;
	}

	#content table td img {
		width:auto !important;
		height:auto !important;
	}
}

#content .entry-footer {
	max-width: 700px;
	margin:0 auto;
	text-align:left;
}

#content .entry-footer .edit-link {
	padding:25px 0;
	display:block;
}

#content .pagebox.grid h1.entry-title,
#content.grid h1.entry-title {
	margin-bottom:10px;
}

#content .pagebox.grid .entry-content,
#content .pagebox.grid .entry-footer,
#content.grid .entry-content,
#content.grid .entry-footer {
	max-width:1120px;
	text-align:left;
}

#content .entry-footer .comments-link {
	display:block;
}

/* superbutton */

#page .superbutton a {
	display:inline-block;
	padding:8px 10px;
	font-size:120%;
	background: #333333;
	color: #ffffff;
	margin-bottom:20px;
}
	

/* single view and comments */

body.single #content .entry-meta {
	padding-bottom:12px;
	max-width: 700px;
	margin: 0 auto;
}

body.single #content .entry-meta .flag {
	padding-top:15px;
}

body.single #content .entry-meta .flag span {
	display:inline-block;
	padding:3px 6px;
	font-size:80%;
	color: #333333;
	background: #ffff33;
}

#content div.nav-links {
	max-width: 700px;
	margin:auto;
}

#content div.nav-links:after {
	display:block;
	content:" ";
	clear:both;
}

#content div.nav-links a {
	font-weight:bold;
	font-size:80%;
	font-weight:normal;
}	

#content div.nav-previous {
	float:left;
	display:inline-block;
	padding-right:20px;
	max-width:45%;
	min-width:300px;
	padding-bottom:20px;
	text-align:left;
}

#content div.nav-previous a:before {
	display:inline-block;
	font-family:FontAwesome;
	content: "\f104";
	padding-right:5px;
}

#content div.nav-next {
	display:inline-block;
	text-align:right;
	float:right;
	padding-left:20px;
	max-width:45%;
	min-width:300px;
	padding-bottom:20px;
}

#content div.nav-next a:after {
	display:inline-block;
	font-family:FontAwesome;
	content: "\f105";
	padding-left:5px;
}

h2.comments-title {
	clear:both;
	padding-top:18px;
}

ol.comment-list {
	margin-left:0;
	padding-left:0;
}

ol.comment-list li li {
	margin-left:20px;
}

img.avatar {
	display:none;
}

li.comment {
	list-style:none;
	margin-bottom:12px;
	background:#f9f9f9;
	padding:5px 10px;
}

/* content pageboxes for onepager */

.pagebox {
	padding:20px 20px 20px 50px;
	box-sizing:border-box;
	margin:0;
	position:relative;
}

.pagebox:last-child {
	min-height:100vh;
}

.pagebox.full-map {
	padding:0;
	margin:0;
}

/* content for map pagebox and single map page */

#content .pagebox.full-map .entry-content,
body.page-template-page-map #content .entry-content {
	width:100%;
	max-width:none;
}

#content .pagebox.full-map .entry-footer .edit-link,
body.page-template-page-map #content .entry-footer .edit-link {
	position:absolute;
	bottom:0;
	left:25px;
	z-index:1;
}

#content .pagebox.full-map header.entry-header, 
body.page-template-page-map #content header.entry-header {
	position:absolute;
	margin:0 auto;
	left:0;
	right:0;
}

#content .pagebox.full-map h1.entry-title,
body.page-template-page-map #content h1.entry-title {
	top:50px;
	position:relative;
	z-index:2;
	background: #ffff33;
	color: #333333;
	border:none;
	font-size:145%;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:767px) {
	#content .pagebox.full-map h1.entry-title,
	body.page-template-page-map #content h1.entry-title	{
		top:0;
		font-size:110%;
		max-width:220px;
	}
}

#content .pagebox.full-map .entry-content .easymap {
	height:100vh;
}

@media screen and (max-width:767px) {
	.pagebox  {
		padding:15px;
	}
	.pagebox.full-map {
		padding:0;
	}
}

.pagebox {
	box-shadow:none;
}

/* map settings */

#content .ol-control button,
#content .ol-control button:focus {
	color: #333333;
	background-color: #ffff33;
}

/* move map buttons for desktop version because of fixed menu */
@media screen and (min-width:768px) {
	#content .pagebox.full-map .entry-content .ol-zoom,
	#content .pagebox.full-map .entry-content .ol-full-screen {
		top:55px;
	}

	#content .pagebox.full-map .entry-content .layer-switcher {
		top:90px;
	}
}

/* content colors for pagetypes 2 and 3*/
body.page-template-page-type2 #page,
.pagebox.page-template-page-type2 {
	background: #f1f1f1;
	color: #333333;
}

body.page-template-page-type2 #content h1.entry-title,
#content .pagebox.page-template-page-type2 h1.entry-title {
	color: #333333;
	border-color: #333333; 
}

body.page-template-page-type2 #content h1.entry-title a,
#content .pagebox.page-template-page-type2 h1.entry-title a {
	color: #333333;
}

body.page-template-page-type2 a,
.pagebox.page-template-page-type2 a {
	color: #666666;
}

body.page-template-page-type2 a:hover,
.pagebox.page-template-page-type2 a:hover,
body.page-template-page-type2 a:focus,
.pagebox.page-template-page-type2 a:focus,
body.page-template-page-type2 a:active,

.pagebox.page-template-page-type2 a:active {
	color: #999999;
}

body.page-template-page-type3 #page,
.pagebox.page-template-page-type3 {
	background: #ffff33;
	color: #333333;
}

body.page-template-page-type3 #content h1.entry-title,
#content .pagebox.page-template-page-type3 h1.entry-title {
	color: #333333;
	border-color: #333333;
}

body.page-template-page-type3 #content h1.entry-title a,
#content .pagebox.page-template-page-type3 h1.entry-title a {
	color: #333333;
}

body.page-template-page-type3 a,
.pagebox.page-template-page-type3 a {
	color: #666666;
}

body.page-template-page-type3 a:hover,
.pagebox.page-template-page-type3 a:hover,
body.page-template-page-type3 a:focus,
.pagebox.page-template-page-type3 a:focus,
body.page-template-page-type3 a:active,
.pagebox.page-template-page-type3 a:active {
	color: #999999;
}

/* topics colors */


.teaserbox .teaserbox-image a {
	background:none !important;
}

/* teaserbox section */

#content .post-list {
	position:relative;
}

#content .paginate-links {
	margin:0 0 20px;
	text-align:center;
	font-weight:bold;
}

#content .paginate-links a,
#content .paginate-links span {
	padding:0 3px;
}

#content .paginate-links .page-numbers.prev:before {
	display:inline-block;
	font-family:FontAwesome;
	font-weight:bold;
	content: "\f104";
	font-size:115%;
}

#content .paginate-links .page-numbers.next:before {
	display:inline-block;
	font-family:FontAwesome;
	font-weight:bold;
	content: "\f105";
	font-size:115%;
}

.teaserbox-section {
	margin:0 auto 12px;
	display:inline-block;
	text-align:left;
	width:100%;
}

.teaserbox-section:after {
	content:" ";
	display:block;
	clear:both;
}

.teaserbox {
	text-align:left;
	background: #ffff33;
	font-size:80%;
	color: #333333;
	box-sizing:border-box;
	margin-bottom:13px;
	position:relative;
	font-weight:300;
	width:245px;
	display:inline-block;
	vertical-align:top;
	margin:5px;
}

.teaserbox-section.post .teaserbox {
	background: #ffff33;
	color: #333333;
}

#content .teaserbox a {
	color: #333333;
}

#content .teaserbox-section.post .teaserbox a {
	color: #333333;
}

#content .teaserbox a:hover,
#content .teaserbox a:focus,
#content .teaserbox a:active {
	color: #666666;
	text-decoration: none;
}

#content .teaserbox-section.post .teaserbox a:hover,
#content .teaserbox-section.post .teaserbox a:focus,
#content .teaserbox-section.post .teaserbox a:active {
	color: #666666;
}

.teaserbox h3 {
	padding:10px 10px 0 10px;
	margin:0;
	font-size:110%;
	line-height:1.4em;
	height:55px;
	overflow:hidden;
}

.teaserbox .entry-meta {
	padding:0 10px 15px 10px;
}

#content .teaserbox .entry-meta p {
	margin:0;
	padding:0;
}

#content .teaserbox .entry-meta p.author {
	height:25px;
	font-size:80%;
	padding-top:8px;
	overflow:hidden;
}

#content .teaserbox .entry-meta p.values {
	font-size:90%;
}

#content .teaserbox .entry-meta p.values span {

}

#content .teaserbox .entry-meta .comments-link a:before {
	font-family:'Dashicons';
	display:inline-block;
	content: "\f101";
	vertical-align:middle;
	font-size:135%;
	padding-right:3px;
}

#content .teaserbox .entry-meta .upvote a:before {
	font-family:'Fontawesome';
	display:inline-block;
	content: "\f164";
	vertical-align:middle;
	font-size:135%;
	padding-right:3px;
}

#content .teaserbox .entry-meta .downvote a:before {
	font-family:'Fontawesome';
	display:inline-block;
	content: "\f165";
	vertical-align:middle;
	font-size:135%;
	padding-right:3px;
}

.teaserbox-text {
	padding:8px 10px 0 10px;
}

.teaserbox-text .teaserbox-text-inner {
	height:80px;
	overflow:hidden;
}

#page .teaserbox-text-inner a {
	font-weight:300 !important;
	hyphens:auto;
}

#content .teaserbox .teaser-before {
	padding-bottom:9px;
}

#content .teaserbox .teaser-before p {
	padding:0 0 3px;
}

#content .teaserbox p {
	font-size:95%;
	margin:0;
}

#content .teaserbox-image a {
	display:block;
	height:100%;
	width:100%;
	text-indent:-9999px;
	font-size:0;
	border:none;
}


.teaserbox-image {
	width:100%;
	height:170px;
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	position:relative;
}

.teaserbox .flag {
	position:absolute;
	top:145px;
	left:0;
	width:100%;
}

.teaserbox .flag span {
	display:inline-block;
	padding:3px 10px;
	font-size:95%;
	text-transform:uppercase;
	font-weight:600;
	background: #ffff33;
	width:100%;
	box-sizing:border-box;
}

.teaserbox .flag.topic span {
	background: #ffff33;
}

#content .teaserbox .edit-link {
	position:absolute;
	top:0;
	right:0;
	display:inline-block;
	padding:3px 5px;
	background: #ffff33;
	border-left:1px solid #333333;
	border-bottom:1px solid #333333;
}

#content .teaserbox-section.post .teaserbox .edit-link {
	background: #ffff33;
	border-left:1px solid #333333;
	border-bottom:1px solid #333333;
}

.count-line {
	text-align:center;
	opacity:.8;
	font-size:85%;
}

/* filter and sort */
.order-box,
.filter-box {
	padding-bottom:10px;
}
@media screen and (min-width:768px) {
	.order-box select {
		padding:3px 5px;
		display:inline-block;
		width:auto;
	}
	.order-box .left {
		margin-right:10px;
	}
	.order-box .right {
		margin-right:10px;
	}
	.filter-box select,
	.filter-box input {
		padding:3px 5px;
		display:inline-block;
		width:auto;
	}
	.filter-box .left {
		margin-right:10px;
	}
	.filter-box .right {
		margin-right:1px;
	}
	.filter-box .secondrow {
		padding-top:10px;
		display:block;
	}
	.filter-box .secondrow input[name="search"]:before {
		display:block;
		background: #ffff33;
		color: #333333;
		font-family:"dashicons";
		content: "\f179 \f345";
	}
}
@media screen and (min-width:980px) {
	.order-box {
		margin-bottom:0;
	}
	.order-box {
		position:absolute;
		top:20px;
		left:10px;
	}
	.filter-box {
		position:absolute;
		top:20px;
		right:10px;
	}
	
	.order-box .right, .filter-box .right {
		margin-right:0;
	}
	
	.filter-box .secondrow {
		position:absolute;
		right:10px;
		z-index:1;
	}
	.filter-box .secondrow:before {
		display:inline-block;
		background: #ffff33;
		color: #333333;
		font-family:"dashicons";
		content: "\f179 \f345";
		font-size:120%;
		vertical-align:middle;
		padding:4px;
	}
}

/* gallery */

#content .gallery:after {
	content:" ";
	display:block;
	clear:both;
}

#content .gallery-item {
	float:left;
	margin:0 10px 10px 0;
}

#content .gallery-item figcaption {
	width: 150px;
	font-weight:300;
	font-size:85%;
}

@media screen and (max-width:767px) {
	#content .gallery-item img.attachment-thumbnail {
		width:120px !important;
		height:120px !important;
	}
	#content .gallery-item figcaption {
		width:120px !important;
	}
}

/* comments */

#comments {
	max-width: 700px;
	margin:50px auto;
	text-align:left;
}

.form-allowed-tags {
	display:none;
}

/* forms */

label {
	display:block;
}

/* add post form */

#content .form-control {
	font-size:17px;
}

#content .add-post-form {
	text-align:center;
	font-size:16px;
}

#content .add-post-form p {
	font-size:16px;
	padding-bottom:0;
}

#content .add-post-form .inner {
	max-width: 700px;
	box-sizing:border-box;
	padding:10px 0 10px 30px;
	text-align:left;
	margin:auto;
}

@media screen and (max-width: 460px) {
	#content .add-post-form .inner {
		padding:15px;
	}
}

#content .add-post-form  .count-hint {
	font-size:85%;
	text-align:right;
	margin-top:-6px;
}

#content .add-post-form #count_characters {
	font-weight:bold;
	font-size:115%;
}

#content .add-post-form #count_characters.warning {
	color:red;
}

#content .add-post-form .form-number {
	background: #ffff33;
	display:block;
	height:24px;
	width:24px;
	line-height:24px;
	text-align:center;
	border-radius:12px;
	font-weight:bold;
	font-size:90%;
	margin:0 0 -10px -10px;
	color: #333333;
	position:relative;
	z-index:1;
}

#content .add-post-form .form-number.haslabel {
	margin:0 0 -23px -10px;
}

#content .add-post-form label,
#content .add-post-form .label{
	font-weight:normal;
	font-size:16px;
	padding-left:20px;
	color:black;
	margin-top:-10px;
	white-space:normal;
}

#content .add-post-form .optional {
	font-size:85%;
	font-weight:normal;
}

#content .add-post-form option {
	padding:6px;
}


#content .add-post-form input[type="text"],
#content .add-post-form input[type="url"],
#content .add-post-form input[type="email"] {
	font-size:17px;
}

#content .add-post-form textarea {
	height:237px;
	font-size:17px;
}

#content .add-post-form textarea.reduced {
	height:212px;
}

#content .add-post-form input[type="file"] {
	height:auto;
}

#content .add-post-form input[type="submit"] {
	display:inline-block;
	clear:both;
}

#content .add-post-form  .easymap {
	width:100%;
	height:280px;
	margin-top:10px;
	display:block;
}

#content .add-post-form .error-message-block {
	border:3px solid #F35147;
	padding:5px 7px;
	background:white;
	color:#666666;
	margin-bottom:20px;
}

#content .add-post-form  .center {
	text-align:center;
}

/** nospam */
#content .add-post-form input[name="birthday"] {
	display:none;
}

/* scroll top */

.scroll-top-wrap div {
	border:none;
	background:none;
	opacity:1;
}
.scroll-top-wrap span {
	font-size:0;
}

.scroll-top-wrap  span:before {
	display:inline-block;
	font-size:48px;
	font-family:"dashicons";
	color: #666666;
	content: "\f343";
	text-shadow: 0 0 3px white;
}

/* accordion */

#content .accordion {
	margin-bottom:25px;
}

#content h2.accordion-title {
	padding:10px;
	background:#f0f0f0;
	cursor:pointer;
	margin:10px 0 0;
	font-size:110%;
	position:relative;
}

#content h2.accordion-title:first-child {
	margin-top:0;
}

@media screen and (max-width:640px) {
	#content h2.accordion-title {
		margin:10px 10px 0;
	}
}

#content h2.accordion-title span {
	display:block;
	padding:5px 0 5px 40px
}

#content h2.accordion-title span span {
	display:inline-block;
	padding:0;
}

h2.accordion-title span:before {
	position:absolute;
	left:0;
	font-weight:normal;
	display:inline-block;
	content:"\f150";
	font-family:FontAwesome;
	color:#999999;
	padding:0 10px;
	font-size:160%;
}

h2.accordion-title span span:before {
	display:none;
}

h2.accordion-title.trigger_active span:before {
	content:"\f151";
}

@media screen and (max-width:767px) {
	#content h2.accordion-title {
		font-size:100%;
	}
	#content h2.accordion-title span {
		padding-left:25px;
	}
	h2.accordion-title span:before {
		font-size:115%;
	}
}

#content .accordion-content {
	background:#f6f6f6;
	margin:0 0 10px;
	padding-top:10px;
}

@media screen and (max-width:767px) {
	#content .accordion-content {
		margin:0 10px 10px;
		overflow:hidden;
	}
}

#content .accordion-content h1,
#content .accordion-content h2,
#content .accordion-content h3,
#content .accordion-content h4,
#content .accordion-content p,
#content .accordion-content ul,
#content .accordion-content ol,
#content .accordion-content table {
	padding:0 20px 12px;
}

@media screen and (max-width:767px) {
	#content .accordion-content {
		font-size:90%;
	}
	#content .accordion-content h1,
	#content .accordion-content h2,
	#content .accordion-content h3,
	#content .accordion-content h4,
	#content .accordion-content p,
	#content .accordion-content ul,
	#content .accordion-content ol,
	#content .accordion-content table {
		padding:0 10px 12px;
	}
}

/* footer */

#page footer.site-footer {
	font-size:16px;
	text-align:center;
}

#page footer.site-footer p {
	text-align:left;
}

#page footer.site-footer .site-footer-meta {
	background: #f6f6f6;
	border-top:1px solid #cccccc;
	padding:20px;
	box-sizing:border-box;
}

#page footer.site-footer .site-footer-meta .inner {
	max-width: 1120px;
	margin:auto;
	text-align:left;
	font-size:85%;
	color: #999999;
}

#page footer.site-footer .site-footer-meta .inner:after {
	display:block;
	content:" ";
	clear:both;
}

#page footer.site-footer .site-footer-meta .column {
	float:left;
	width:31%;
	margin: 0 1%;
	box-sizing:border-box;
}

@media screen and (max-width:767px) {
	#page footer.site-footer .site-footer-meta {
		padding:20px 0;
	}
	#page footer.site-footer .site-footer-meta .column {
		float:none;
		margin:0;
		padding:10px 0;
		width:100%;
		box-sizing:border-box;
	}
}

#page footer.site-footer .site-footer-meta .column:first-child {
	margin-left:0 !important;
}

#page footer.site-footer .site-footer-meta .column:last-child {
	margin-right:0 !important;
}

@media screen and (max-width:767px) {
	#page footer.site-footer .site-footer-meta .column,
	#page footer.site-footer .site-footer-meta .inner.single	{
		margin:0;
		padding:20px;
	}
}


#page footer.site-footer .site-footer-meta nav ol {
	margin:0;
	padding-left:0;
}

#page footer.site-footer .site-footer-meta nav li {
	list-style:none;
}

#page footer.site-footer .site-footer-meta a {
	font-weight:normal;
	color: #999999;
}

#page footer.site-footer .site-footer-meta a:hover,
#page footer.site-footer .site-footer-meta a:focus,
#page footer.site-footer .site-footer-meta a:active {
	text-decoration:underline;
}

/* search */

body.search #site-teaser,
body.search #site-footer {
	height:0;
	overflow:hidden;
}

.clear {
	clear:both;
}

