@-ms-viewport{ width: device-width; }
@-o-viewport{ width: device-width; }
@-moz-viewport{ width: device-width; }
@-webkit-viewport{ width: device-width; }
@viewport{ width: device-width; }

body{
	font: 16px/20px 'Roboto Slab', Serif;
	font-weight: 300;
	padding: 0;
	margin: 0;
	background: #88847a;
	color: #5b4946;
}

li{
	line-height: 125%;
}	

div.bgcontainer{
	background: #f0efef;
}

h1{
	font-size: 250%;
	line-height: 135%;
	font-weight: 400;
	margin: 0 0 15px 0;
}

h2{
	font-size: 185%;
	line-height: 130%;
	font-weight: 400;
	margin: 0 0 15px 0;
}

h3{
	font-size: 150%;
	line-height: 130%;
	font-weight: 400;
	margin: 0 0 15px 0;
}

a{
	-webkit-transition: color .25s;
	-moz-transition: color .25s;
	-o-transition: color .25s;
	transition: color .25s;
}

p a img,
.logo a img{
	-webkit-transition: opacity .4s;
	-moz-transition: opacity .4s;
	-o-transition: opacity .4s;
	transition: opacity .4s;
}	

p a:hover img,
p a:focus img,
.logo a:hover img,
.logo a:focus img{
	filter: alpha(opacity=80);
	-webkit-opacity: 0.8;
	-moz-opacity: 0.8;
	-o-opacity: 0.8;
	opacity: 0.8;
}

.logo #log {
	white-space: nowrap;
	margin-right: 30px;
}
.logo #log img {
	max-width: 80%;
}

form{
	margin: 0;
}

a{
	color: #808b66;
}

a:hover, a:focus{
	color: #90ab4f;
}

div.headerrow{
	background: #808b66 url(../images/bgpattern.png) center center repeat;
	padding: 20px 0 15px 0;
	position: relative;
	z-index: 20;
	-webkit-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	-moz-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

ul.lang-block{
	padding: 0;
	margin: 0;
}

.langmod ul{
	text-align: right;
}

.langmod li{
	display: inline-block !important;
	text-align: right;
	margin: 0 0 0 15px !important;
}

.langmod li a{
	color: #fff;
	font-size: 87.5%;
}

.langmod li a:hover,
.langmod li a:focus{
	text-decoration: underline !important;
}

.header .moduletable{
	padding: 5px 0;
}

div.brand.logo{
	text-align: center;
}



.navbar{
	margin: 0 !important;
	padding: 0 !important;
	align-items: flex-start;
}

div.menurow{
	background: #a66841;
	padding: 0;
	position: relative;
	z-index: 19;
	-webkit-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	-moz-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

.navbar .nav{
	text-align: center;
	display: block;
	width: 100%;
	float: none;
	padding: 0;
	margin: 0;
}

.navbar .nav > li{
	float: none;
	display: inline-block;
}

.navbar .nav > li > a{
	font-size: 115%;
	line-height: 115%;
	color: #fff;
	padding: 20px 6px;
	margin: 0 7px;
	position: relative;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus{
	color: #fff;
}

.navbar .nav > li+li > a:before{
	content: '';
	display: block;
	width: 10px;
	height: 12px;
	background: url(../images/menuseparator.png) center center no-repeat;
	left: -12px;
	top: 40%;
	position: absolute;
}

.navbar .nav > li > a:after{
	content: '';
	position: absolute;
	bottom: 0px;
	left: 0;
	right: 0;
	width: 100%;
	height: 0px;
	background: #f0efef;
	border-bottom: 3px solid #a66841;
	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
}

.navbar .nav > li > a:hover:after,
.navbar .nav > li > a:focus:after,
.navbar .nav > li.active > a:after{
	bottom: -3px;
	height: 6px;
	-webkit-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	-moz-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus{
	color: #fff;
	font-weight: 400;
}

.navbar .nav > li ul{
	display: none;
}

ol.flex-control-nav{
	width: 100%;
	left: 0;
	right: 0;
	text-align: center;
}

.flex-control-paging li a{
	text-indent: -9999px;
	border: none !important;
	background: #fff !important;
	-webkit-box-shadow: inset 1px 1px 3px #666 !important;
	-moz-box-shadow: inset 1px 1px 3px #666 !important;
	box-shadow: inset 1px 1px 3px #666 !important;
	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	width: 20px !important;
	height: 20px !important;
	padding: 0 !important;
	margin: 0 5px !important;
}

div.footerrow{
	background: #808b66 url(../images/bgpattern.png) center center repeat;
	padding: 15px 0;
	position: relative;
	z-index: 20;
	-webkit-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	-moz-box-shadow: 0 3px 8px rgba(0,0,0,.15);
	box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

div.footerrow a,
div.footerrow p,
div.footerrow h2{
	color: #fff;
}

.footercontact h2{
	text-align: center;
}

.footercontact table{
	max-width: 500px;
	margin: 0 auto;
}

.flex-control-paging li a.flex-active{
	background: #be947a !important;
}

div.copyplanrow{
	background: #88847a;
	z-index: 17;
	padding: 15px 0;
}

div.copy,
div.plan{
	font-size: 75%;
	color: #fff;
}

div.plan a{
	color: #fff;
}

div.plan a:hover,
div.plan a:focus{
	text-decoration: underline;
}

.footer{
	position: relative;
	background: none;
}

.halfcircle{
	position: absolute;
	left: 0;
	right: 0;
	top: -35px;
	height:45px;
    border-radius: 100% 100% 0 0;
    background: #808b66 url(../images/bgpattern.png) center center repeat;
}

.contentcontainer{
	min-height: 350px;
}

.normalpage{
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.rightcolumn div.moduletable,
.blogcol div.item,
.item-page div.item{
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	margin-bottom: 6.666202452657% !important;
}

.content .edit,
#modules-form{
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	margin-bottom: 6.666202452657%;
	background: #fff;
	padding: 2.417557355%;
}

#phocamaps .pmroute, .pmroute,
.phocamaps div.phocamaps-box,
.phocamaps .adp{
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	margin-bottom: 3.127659574% !important;
	background: #fff;
	padding: 2.417557355% !important;
}

.phocamaps div.phocamaps-box{
	padding: 0 !important;
}

#phocamaps .pmroute, .pmroute,
.phocamaps div.phocamaps-box{
	margin-left: 0 !important;
	margin-top: 0 !important;
}	

.phocamaps #phocaMapsPrintIcon{
	padding: 3px;
	background: #ffffff;
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,.2);
	box-shadow: 1px 1px 5px rgba(0,0,0,.2);
}

.rightcolumn div.moduletable h2 a,
.blogcol div.item h2 a{
	color: #5b4946;
}

div.moduletable.facebook{
	color: #fff;
	background: #3b589e url(../images/fb_f.png) bottom right no-repeat;
	padding: 5%;
}

div.moduletable.facebook h3{
	margin: 0;
}

div.moduletable.facebook a{
	color: #fff;
    display: block;
}

.normalpage a{
	font-weight: 400;
}

.normalpage .item{
	background: #fff;
}

.normalpage .item .itemtext{
	padding: 5%;
}

.normalpage .item-page .item .itemtext{
	padding: 2.417557355%;
}

.page-header{
	margin: 0;
	padding: 0;
	border: none;
}

.blogcol.span6{
	width: 48.3862649153%;
	margin-left: 3.225526398536%;
}

#hamburger{
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	z-index: 2;
	width: 40px;
	height: 40px;
	margin-top: -8px;
	cursor: pointer;
}

#hamburger:before,
#hamburger:after,
#hamburger span{
	background: #fff;
	content: '';
	display: block;
	width: 30px;
	height: 5px;
	position: absolute;
	left: 0;
}

#hamburger:before{
	top: 10px;
}

#hamburger span{
	top: 20px;
}

#hamburger:after{
	top: 30px;
}

#hamburger:before,
#hamburger:after,
#hamburger span{
	-webkit-transition: none .5s ease 0s;
	-moz-transition: none .5s ease 0s;
	transition: none .5s ease 0s;
	-webkit-transition-property: transform, top, bottom, left, opacity;
	-moz-transition-property: transform, top, bottom, left, opacity;
	transition-property: transform, top, bottom, left, opacity;
}

#hamburger.opened:before,
#hamburger.opened:after{
	top: 20px;	
}

#hamburger.opened span{
	left: -50px;
	opacity: 0;
}

#hamburger.opened:before{
	transform: rotate( 45deg );
}

#hamburger.opened:after{
	transform: rotate( -45deg );
}

.pg-csv-name{
	font-size: 75%;
	line-height: 160%;
}

.moduletable.searchbox{
	max-width: 200px;
	float: right;
}

.moduletable.imagemod {
	background: white;
	padding: 20px;
}

.moduletable.imagemod p{
	display: flex;
	margin: 0;
}

.moduletable.imagemod a{
	justify-content: center;
	flex: 1;
	text-align: center;
}

.nav > li > a {
    display: block;
}

a:not([class]),
.mod-list li a:hover,
.mod-list li.active > a {
	text-decoration: none;
}

.usernav-collapse .mod-list li a {
	color: white;
}

.container.buttons .moduletable > div {
	height: 100px;
	background-size: cover;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.container.buttons a {
	display: block;
	background: #808b66;
	border-radius: 4px;
	color: white;
	font-family: "Roboto Slab", serif;
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	padding: 0.5rem;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.7);
}

.container.buttons h2 {
	position: absolute;
	font-family: "Roboto Slab", serif;
	color: white;
	display: block;
	left: 1rem;
	top: 0.5rem;
	font-size: 28px;
	text-shadow: 0 0 4px black;
}

.container.buttons a:hover {
	box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 1);
}

@media (min-width: 992px) and (max-width: 1200px){
	.navbar .nav > li > a{
		font-size: 95%;	
		line-height: 100%;
		padding: 15px 4px;
	}

	.langmod li a {
		font-size: 75%;
	}
}
@media (min-width: 992px) {
	.topmenu .nav-collapse.collapse {
		display: block;
	}
}

@media (min-width:768px) {
	.usernav-collapse.collapse {
		display: block;
	}
	.usernav-collapse ul {
		flex-direction: row;
	}
	.usernav-collapse a {
		padding: 0.5rem;
	}
}

@media (max-width: 991px) and (min-width: 768px){
	body{
		font-size: 14px;
		line-height: 18px;
	}
	
	h1{
		font-size: 200%;
		line-height: 135%;
		font-weight: 400;
	}

	h2{
		font-size: 150%;
		line-height: 130%;
	}

	h3{
		font-size: 125%;
		line-height: 130%;
	}

	.navbar {
		justify-content: flex-start;
	}

	.navbar .nav > li > a:before{
		display: none !important;	
	}
	
	.navbar .nav > li > a{
		
	}
	
	div.menurow{
		padding: 12px 0 8px 0;	
		min-height: 36px;
	}
	
	.navbar .nav{
		display: inline-block;
		text-align: left;
/*		width: auto; */
		margin-left: 10%;
	}
	
	.navbar .nav > li{
		display: block;
	}
	
	.mobiletrigger{
/*		position: absolute; */
	}
	
	.navbar .nav > li > a{
		padding-top: 17px;
		padding-bottom: 8px;
	}

	.langmod li{
		margin: 0 0 0 5px !important;
	}

	.langmod li a {
		font-size: 75%;
	}
}

@media (max-width: 767px){
/*
	.contentcontainer > .container,
	.menurow > .container{
		max-width: 375px;	
	}
*/	
	.blogcol.span6{
		margin: 0;
		width: 100%;
	}
	
	.normalpage{
		padding-top: 6.666202452657%;
		padding-bottom: 6.666202452657%;
	}
	
	div.headerrow,
	div.menurow,
	div.contentcontainer,
	div.footerrow,
	div.copyplanrow{
		padding-left: 10px;
		padding-right: 10px;
	}
	
	div.footerrow .moduletable+.moduletable{
		margin-top: 6.666202452657%;
	}	
	
	.search.searchbox{
		text-align: right;
	}
	
	.headerrow .inputbox.span12{
		max-width: 200px;
	}
	
	.headermodules{
		margin-top: 15px;
	}
	
	.normalpage .item-page .item .itemtext{
		padding: 5%;	
	}
	
	.navbar .nav > li > a{
		padding-top: 15px;
		padding-bottom: 5px;
	}
	
	.navbar .nav > li > a:before{
		display: none !important;	
	}
	
	div.menurow{
		padding: 12px 0 8px 0;	
	}
	
	.navbar .nav{
		display: inline-block;
		text-align: left;
		width: auto;
	}
	
	.navbar .nav > li{
		display: block;
	}

	.langmod ul{
		text-align: center;
	}

	.moduletable.searchbox{
		float: none;
		margin: 15px auto 0 auto;
	}
	#content > .row-fluid {
		display: flex;
		flex-direction: column-reverse;
	}
	.container.buttons .moduletable > div {
		height:52px;
	}
}
