/*
Theme Name: ASSEMBLY THEME (responsive)
Theme URI: http://zalabit.hu
Description: Developer Theme 
Author: Assembly
Author URI: http://assembly.hu
Version: 2016.01
*/

body{
    color: #333;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    -webkit-text-size-adjust: 100%;
    padding-left:22%;
}

#digitalis-zala {
    text-align: center;
    background-color: white;
}

#digitalis-zala img {
    width: 100%;
    max-width: 420px;
}

#rolunk .entry {
    position: relative;
    line-height: 1.7em;
    overflow: hidden;
    background-color: #669b48;
    padding: 5% 5%;
    color: white;
    text-align: center;
    font-size: 21px;
}

#searchfull {
    display:none;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 36, 52, .8);
}

#searchform {
color: white;
    width: 94%;
    max-width: 700px;
    font-size: 0;
    margin-top:20px;
    opacity:0;
      -webkit-transition: all 600ms ease;
  transition:         all 600ms ease;
	-moz-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	text-align:center;
}

#searchform h3 {
margin-top:0;
}

#searchform label {
    text-align: center;
    margin-bottom: 14px;
}

.searchon {
    margin-top:0px !important;

    opacity:1 !important;
}

input#search {
border: none;
    padding: 22px 22px;
    font-size: 28px;
    width: calc(100% - 44px);
    font-family: 'Ubuntu', sans-serif;
    -webkit-appearance: none;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    outline: none;
}

#searchsubmit {
    position: absolute;
    font-size: 34px;
    color: #669b48;
    right: 0;
    bottom: 0;
    padding: 19px;
    cursor: pointer;
}

div#searchexit {
    position: absolute;
    width: 100%;
    height: 100%;
}

div#searchexit i{
    position: absolute;
    right: 3%;
    top: 3%;
    color: white;
    font-size: 25px;
        cursor: pointer;
}

#pattern {
background-image: url(images/pattern.jpg);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.4;
    z-index: -1;
}

a, .fast {
  -webkit-transition: all 300ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition:         all 300ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
}

.anim {
  -webkit-transition: all 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition:         all 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
	-moz-transition: all 600ms ease;
	-o-transition: all 600ms ease;
}

.slow {
  -webkit-transition: all 1200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition:         all 1200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
	-moz-transition: all 1200ms ease;
	-o-transition: all 1200ms ease;
}

.hide {
opacity:0 !important;
}

.breadcrumb {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.4em;
    padding: 0;
    margin: 0;
}

.breadcrumb .padding {
padding:0px;
}

.breadcrumb li {
    display: inline-block;
    color: rgb(28, 73, 104);
}

.breadcrumb a {
text-decoration: none;
    color: rgb(28, 73, 104);
}

.breadcrumb li a::after {
  display: inline-block;
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f054";
  margin: 0 13px;
}

h1,h2,h3,h4,h5,h6 {
font-family: 'Ubuntu', sans-serif;
    line-height: 1.3em;
}

h1 {
    font-size: 44px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

.wrapper{
	margin: 0 auto;
	max-width:1300px;
  position:relative;
padding:0;
}

.button {
padding: 18px 28px;
    text-transform: uppercase;
    font-size: 14px;
    background-color: #669b48;
    color: #FFF !important;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    -webkit-appearance: none;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
background-color:#2f6794;
}

.cancel {
background-color:#DE716E;
}

.layout {
padding:5% 0;
position: relative;
overflow: hidden;
}

.entry {
    position: relative;
    line-height: 1.4em;
    overflow: hidden;
    background-color: white;
    padding: 3% 5%;
}

.entry li {
padding:5px 0;
}

#pin {
    float: right;
    color: #2d5471;
    font-size: 18px;
}

.entry iframe {
width:100%;
height:450px;
}

.half {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.layoutimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax {
    text-align: center;
background-color:black;
    color: white;
}

.parallax .entry {
    max-width: 640px;
    margin: 0 auto 2em;
}

.parallax .layoutimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    opacity:.5;
}

#feltoltes-form input[type="file"]{
  display: none;
}

.formline {
margin-bottom: 10px;
}

label {
    display: block;
    vertical-align: top;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2px;
}

#fieldboxes {
font-size:0;
}

.fieldbox {
width: 33%;
    display: inline-block;
    margin-bottom: 20px;
}

.field {
    padding: 7px 10px;
    font-size: 16px;
    display: inline-block;
    border: 1px solid #BBB;
    width: calc(100% - 22px);
}

.fieldbox .field {
       width: calc(100% - 42px);
}

.dropdown {
width: calc(100% - 110px);
  padding: 5px;
  border-radius: 0px;
  border: 1px solid #BBB;
}

#contactform textarea {
    width: calc(100% - 50px);
    padding: 7px 10px;
    font-size: 16px;
    min-height: 150px;
    display: inline-block;
    border: 1px solid #BBB;
    max-width: calc(100% - 22px);
}

.infotext {
  font-size: 12px;
  text-align: right;
  opacity: 0.7;
}

.center {
position:absolute;
left:50%;
top:50%;
transform:translateX(-50%) translateY(-50%);
-webkit-transform:translateX(-50%) translateY(-50%);
-moz-transform:translateX(-50%) translateY(-50%);
-ms-transform:translateX(-50%) translateY(-50%);
-o-transform:translateX(-50%) translateY(-50%);
}

.hcenter {
position:absolute;
left:50%;
transform:translateX(-50%);
-webkit-transform:translateX(-50%);
-moz-transform:translateX(-50%);
-ms-transform:translateX(-50%);
-o-transform:translateX(-50%);
}

.vcenter {
position:absolute;
top:50%;
transform:translateY(-50%);
-webkit-transform:translateY(-50%);
-moz-transform:translateY(-50%);
-ms-transform:translateY(-50%);
-o-transform:translateY(-50%);
}

#statusbar {
position: relative;
    padding: 10px 0;
    color: rgb(0 0 0 / 80%);
    font-size: 12px;
    overflow: hidden;
    background-color: #000;
}

.headon #statusbar {
padding: 0;
    height: 0;
}

#slogan {
    text-align: left;
    color: #ccc;
    padding-right: 110px;
}

#icons {
    right: 0;
}

div#language {
    display: inline-block;
}

#lang {
    display: inline-block;
    color: white;
    padding: 0 10px;
    font-size: 13px;
    vertical-align: middle;
}

#icons a {
    display: inline-block;
    color: #669b48;
    padding: 0 10px;
    text-align: center;
    font-size: 13px;
    vertical-align: middle;
}

header{
    height: 100%;
    position: fixed;
    width: 22%;
    top: 0;
    z-index: 1000;
    text-align: center;
    left: 0;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 5%);
    background-color: #669b48;
    overflow: hidden;
}

header a, h3 a {
text-decoration:none;
}

.headon {
background-color: rgba(0,0,0,0.5);
}

.headon #logo {
padding:10px 0;
}

.headon #logo img {
height:40px;
}

#logo {
    line-height: 0;
    color: #607D8B;
    width: 100%;
    background-color: white;
    border-radius: 0 0 0 0;
    display: block;
    overflow: hidden;
    padding: 30px 40px 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    box-sizing: border-box;
    margin-bottom: 30px;
    position: relative;
}

#logo img {
    height: auto;
    width: 100%;
}

#topmenu {
position: relative;
    width: 210px;
    margin: 20px auto;
}

#hamburger {
  display: none;
}

#hambi div {
  background-color: #669b48;
  height: 2px;
  margin: 4px auto;
  border-radius: 1px;
	transition: all 300ms ease;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
}

.hambitox #x1 {
  transform: rotateZ(45deg) translateY(4px) translateX(4px);
  -webkit-transform: rotateZ(45deg) translateY(4px) translateX(4px);
  -moz-transform: rotateZ(45deg) translateY(4px) translateX(4px);
  -ms-transform: rotateZ(45deg) translateY(4px) translateX(4px);
  -o-transform: rotateZ(45deg) translateY(4px) translateX(4px);
}

.hambitox #x2 {
  transform: rotateY(90deg);
  -webkit-transform: rotateY(90deg);
  -moz-transform: rotateY(90deg);
  -ms-transform: rotateY(90deg);
  -o-transform: rotateY(90deg);
}

.hambitox #x3 {
  transform:rotateZ(-45deg) translateY(-4.5px) translateX(4.5px);
  -webkit-transform:rotateZ(-45deg) translateY(-4.5px) translateX(4.5px);
  -moz-transform:rotateZ(-45deg) translateY(-4.5px) translateX(4.5px);
  -ms-transform:rotateZ(-45deg) translateY(-4.5px) translateX(4.5px);
  -o-transform:rotateZ(-45deg) translateY(-4.5px) translateX(4.5px);
}

li#menu-item-122 {
    background-color: #30a8cb;
}

.nav {
	list-style:none;
  padding:0;
  margin:0;
  font-size:0;
}

.nav li{
    display: block;
    position: relative;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    background-color: #669b48;
    box-shadow: 0 1px rgb(255 255 255 / 30%);
    margin-bottom: 5px;
}

.nav li:last-child {
border-right: none;
}

.nav li a{
    font-family: 'Ubuntu', sans-serif;
    display: block;
    text-decoration: none;
    color: rgba(255,255,255,.8);
    padding: 15px 20px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.nav ul {
position: absolute;
top: 100%;
left: 0;
float: left;
z-index: 99999;
padding: 0;
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2);
visibility:hidden;
opacity:0;
transition:visibility 0s linear 0.3s,opacity 0.3s linear;
}

.nav li:hover > ul{
  visibility:visible;
  opacity:1;
  transition-delay:0s;
}

.nav ul ul{
	top: 30%;
	left:100%;
	background: #343434;
}

.nav ul li {
border-top:1px solid rgba(255,255,255,.5);
width: 100%;
margin:0 !important;
}

.nav ul a{
height: auto;
line-height: 1em;
padding: 15px 20px;
border-left: none;
border-right: none;
width: initial;
white-space: nowrap;
}

.nav li:hover > a {

}

.nav li:active, .nav li:focus, .clicked{
box-shadow:0 0 0 50px rgba(0,0,0,0.1) inset;
}

.menu-item-has-children > a::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f107";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    margin-left: 10px;
}

.current-menu-item {
    background-color: #669b48;
}

.current-menu-item a {
    color: rgba(255,255,255,.9) !important;
}

.owl-buttons {
position: absolute;
top: 0;
width: 100%;
height: 100%;
overflow:hidden;
font-weight:300;
}

.owl-prev, .owl-next {
position: absolute;
top: 0;
color: #FFF;
font-size: 140px;
line-height: 350px;
width: 45%;
height: 100%;
opacity: 0;
transition: all 300ms ease;
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-o-transition: all 300ms ease;
vertical-align: middle;
}

.owl-prev {
left:0;
padding-left:5%;
}

.owl-next {
right:0;
text-align:right;
padding-right:5%;
}

.owl-prev:hover, .owl-next:hover {
opacity:0.5;
}

#slider .slide {
height: 400px;
background-size: cover;
background-position: center center;
}

article {
    float: right;
    width: 72%;
    position: relative;
margin-top:20px;
}

.padding {
margin:0 3%;
position:relative;
}

#tophead {
    position: relative;
    padding: 4% 5%;
    overflow: hidden;
    background-size: cover;
    z-index: 100;
    background-color: rgba(250,250,250,1);
}

#tophead img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    opacity: 0.3;
    width: auto;
    height: auto;
    filter: blur(18px);
}

#tophead h1 {
    font-weight: bold;
    color: #669b48;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0 0 5px;
    line-height: 1.2em;
    position: relative;
}

.editpostlink {
position: absolute;
    right: 0;
    top: 0;
}

.editpostlink .btn {
color: #669b48;
    font-size: 18px;
    padding: 10px;
    display: block;
}

.box {
    display: block;
    clear: both;
    overflow: hidden;
    background-color: #eee;
    padding: 0 5%;
    margin-bottom: 20px;
}    

.subpages {
font-size: 24px;
    line-height: 1.3em;
    text-transform: uppercase;
    color: #888;
    list-style: square;
}

.subpage {
    color: #669b48;
}

.subpage a {
    color: #404040 !important;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: -0.03em;
}

#infobox {
    background-color: #f0f0f0;
    padding: 20px;
    position: relative;
}

#map {
float: right;
    width: 48%;
    font-size: 0;
    line-height: 0;
    border: 5px solid #fff;
}

div#terkep {
    margin-top: 20px;
}

#infos {
    float: left;
    width: calc(48% - 60px);
    background-color: white;
    height: calc(100% - 80px);
    position: absolute;
    padding: 20px;
}

#infos .button {
    width: calc(100% - 54px);
    text-align: center;
}

.button i {
    font-size: 19px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

#hirek {
    margin-bottom: 30px;
}

.hir {
    border-bottom: 4px solid #f3f3f3;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.hir h2 {
    border-left: 5px solid #669b48;
    padding-left: 12px;
}

.hir h2 .date {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5em;
}

.hir h2 a {
text-decoration:none;
}

#programok {
    margin-bottom: 30px;
}

.program {
text-decoration: none;
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-left: 6px solid #eee;
    padding-top: 5px;
    padding-left: 4px;
}

.program:hover {
    border-left: 6px solid #669b48;
    background-color: #f6f7f7;
}

.program:hover > .date {
    color: #669b48 !important;
}

.program .divider {
     border-bottom: 1px solid #eee; 
}

.program .date {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 80px;
    color: #bbb;
    margin-right: 13px;
}

.program .nap {
    font-size: 38px;
    line-height: 1em;
    font-weight: bold;
    letter-spacing: -0.06em;
}

.program .honap {
    font-size: 14px;
    letter-spacing: -0.03em;
    line-height: 1em;
}

.program h2 {
display: inline-block;
    vertical-align: middle;
    font-weight: normal;
    font-size: 16px;
    width: calc(100% - 100px);
    margin: 0;
    letter-spacing: -0.03em;
}

.pbutton {
    display: block;
    text-decoration: none;
    padding: 20px;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    margin-top: 30px;
    text-align: center;
}

#csengetes {
    width: 100%;
    text-align: center;
}

.csr {
display:block;
}

.cs {
display:inline-block;
width:33.33%;
}

#referenciak {
    margin: 6% 0 4%;
    text-align: center;
}

.ref {
display:inline-block;
}

.ref img {
    filter: saturate(0);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    border-radius: 20px;  
}

.ref img:hover {
    filter: saturate(1);
}

.owl-carousel .owl-item img {
height:auto;
}

.message {
    background-color: black;
    text-align: center;
    color: white;
    padding: 30px;
    margin-bottom: 50px;
    font-size: 20px;
    border: 5px solid #669b48;
}

.gallery {
display:none;
}

.rsDefault .rsThumb.rsNavSelected {
    box-shadow: 0 0 0 5px #669b48 !important;
}

.post {
    padding: 0px 0;
    position: relative;
    margin: 0px 0 60px;
        box-shadow: 0 20px 30px rgba(0,0,0,.05);
    border-bottom: 10px solid #f8f8f8;
}

a.tovabb {
    text-decoration: none;
    float: right;
    font-size: 15px;
    font-style: italic;
    color: #669b48 !important;
    letter-spacing: -0.03em;
}

.tovabb i {
    color: #669b48;
}

.entry a {
	color: #444;
}

.entry a:hover{
	color: #000;
}

.entry img {
max-width: 100%;
height: auto;
}

.alignright {
  float: right;
  margin: 0 0 2% 3%;
}

.alignleft {
  float: left;
margin: 0 3% 2% 0;
}

.alignleft, .alignright {
width:30%;
  font-size: 0;
    line-height: 0;
}

.alignleft img, .alignright img {
width:100%;
height:auto;
}

.wp-caption-text {
    background-color: white;
    font-size: 15px;
    margin: 0;
    padding: 6px 10px;
    line-height: 1.4em;
}

.ui-sortable-handle {
float:left;
  width: auto;
  height: 80px;
position:relative;
margin:0 10px 10px 0;
border:1px solid #ccc;
}

.ui-sortable-handle:first-child::after { 
content: "kiemelt kép";
  position: absolute;
  left: 50%;
  background-color: #FFF;
  font-size: 13px;
  bottom: -5px;
  transform: translateX(-50%);
  padding: 0 3px;
  border-radius: 4px;
  opacity: 0.9;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}


.ui-sortable-handle label {
  width: auto;
  padding: 0;
}

.ui-sortable-handle img {
  width: auto;
  height: 80px;
}

.ui-sortable-placeholder {
}

.torles {
  position: absolute;
  right: -5px;
  top: -5px;
  background-color: #FFF;
  border: 3px solid #D64642;
  color: #D64642;
  text-decoration: none;
  width: 15px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.plus {
cursor:pointer;
}

aside {
float: left;
    width: 22%;
    list-style: none;
    background-color: rgba(255,255,255,1);
    padding: 2% 2%;
    position: relative;
    z-index: 1000;
    box-shadow: 10px 30px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    margin-top:-5px;
}

aside .nav ul {
width: 100%;
}

#logok {
    background-color: #1f2b33;
    text-align: center;
    font-size: 0;
    padding: 10px;
    display: block;
    clear: both;
}

#logok img {
    width: 100%;
    height: auto;
    max-width: 710px;
    opacity: 0.5;
}

aside .nav {
margin:0 0 10px;
}

aside .nav li {
display:block;
text-align:center;
    margin-bottom: 2px;
}

#kreta {
    background-color: #30a8cb;
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0;
    margin-bottom: 10px;
}

#kreta:hover {
background-color:#2f6794;
}

#kreta img {
width:70px;
}

#facebook {
overflow:hidden;
}

footer{
    position: relative;
    clear: both;
    text-align: center;
    padding: 10px 30px 20px;
    background-color: #f1f1f1;
    color: #9c9c9c;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 30px 30px rgb(0 0 0 / 5%);
    border-top: 5px solid #e0e0e0;
}

footer a {
    color: #669b48;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
color:#669b48;
}

footer span {
display:inline-block;
}

.clear {
clear:both;
}

@media screen and (max-width: 1400px) {
.nav li a {
    padding: 12px 20px;
    font-size: 14px;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

}
@media screen and (max-width: 800px) {
body{
    padding-left:0;
}

header {
    height: auto;
    position: relative;
    width: 100%;
    overflow: visible;
}

#logo img {
    height: auto;
    width: 70%;
    max-width: 250px;
}

#topmenu {
    position: absolute;
    width: 100%;
    margin: 0px auto;
}

#hamburger {
    display: inline-block;
    position: absolute;
    right: 3%;
    width: 40px;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

h1 {
    font-size: 32px;
}

#fullmenu {
position:absolute;
}

nav {
height: auto;
  width: 100%;
	transition: all 300ms ease;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	z-index:30;
	top:100% !important;
	right:inherit;
	transform:translateY(10%);
	-webkit-transform:translateY(10%);
	-moz-transform:translateY(10%);
	-ms-transform:translateY(10%);
	-o-transform:translateY(10%);
	right:0 !important;
	background-color:rgba(0,0,0,0.8);
	opacity:0;
	visibility:hidden;	
}

.nav ul li {
box-shadow: 0 0 0 50px #00000040 inset;
}

.nav li a {
padding:20px;
}

#topmenu li {
    margin: 0px;
}

.menuon {
	transform:translateY(0%) !important;
	-webkit-transform:translateY(0%) !important;
	-moz-transform:translateY(0%) !important;
	-ms-transform:translateY(0%) !important;
	-o-transform:translateY(0%) !important;
	opacity:1 !important;
	visibility:visible !important;
}

.nav  {
padding:0;
}

.nav ul {
width:100%;
}

.nav ul li a {
border-top:none;
font-size: 12px;
}

.nav li {
text-align:center;
width:100%;
}

.nav li:last-child, .nav li:first-child {
border-left:none;
border-right:none;
}

.nav li a {
border-left: 0px solid;
border-top: 1px solid;
border-color:rgba(255, 255, 255, 0.4);
}

.nav li:last-child {
border-right: 0px;
}

#slider .slide {
height: 300px;
}

.owl-prev, .owl-next {
line-height: 270px;
}

.post {
    margin: 0px 0 20px;
}

#tophead {
    text-align: center;
}

article {
width:100%;
}

aside {
    width: 96%;
}

#infos, #map {
    float: none;
    position: relative;
}

#map {
    width: calc(100% - 10px);
}

#infos {
    width: calc(100% - 40px);
}

}

@media screen and (max-width: 600px) {
.subpages {
    padding-left: 20px;
}

.subpages li {
    padding: 5px 0;
    line-height: 1.3em;
    font-size: 15px;
}

}

@media screen and (max-width: 500px) {
.subpage a {
    font-size: 15px;
}

#infobox {
  padding: 0;
}

#infos {
    width: 100%;
    padding: 20px 0;
}

.fieldbox {
    width: 100%;
    display: block;
}

.fieldbox .field {
    width: calc(100% - 22px);
}

#contactform textarea {
    width: calc(100% - 22px);
}    

}

@media screen and (max-width: 400px) {
h1 {
    font-size: 24px;
}

.breadcrumb {
    font-size: 9px;
    letter-spacing: 0px;
}

.parent::after {
    margin: 0 3px;
}

label {
display:block;
width:auto;
padding-bottom: 0;
}

.field, textarea {
display:block;
width: calc(100% - 22px);
max-width: calc(100% - 22px);
}

.alignright, .alignleft {
float: none;
    margin: 0 0 2%;
    width: 100%;
}

.alignright img, .alignleft img {
  width:100%;
}


}