/*
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: #555555;
    font-size: 20px;
    margin: 0;
    padding: 0 0 0 0;
    background-color: #f8f8f8;
    -webkit-text-size-adjust: 100%;
    line-height:1.5em;
}

#language {
    display: inline-block;
}

#maptable img {
    width: 95% !important;
    height: auto;
}

#maptable {
width:100%;
}

#maptable td {
width:50%;
}

#contactable a {
color:#f15922;
}

#contactform a {
color:white;
}

ul.boxes {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 0;
    line-height: 0;
}

.box {
    position: relative;
    display: block;
    vertical-align: top;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #eee;
    text-align: left;
    padding-left: 230px;
}

.box .btn {
    font-size: 14px;
    background-color: #5485a5;
    display: inline-block;
    color: white;
    border-radius: 20px;
    padding: 3px 15px;
}

.box a {
text-decoration:none;
color:#333;
}

.post-date {
    color: #00000088;
    font-size: 10px;
    letter-spacing: 0px;
}

.excerpt {
    font-size: 16px;
    line-height: 1.5em;
    padding-right: 20px;
    padding: 0 30px 20px 0;
}

.box img {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 100% !important;
    object-fit: cover;
        z-index: 1;
} 

.box h3 {
    position: relative;
    color: black;
    font-size: 22px;
    z-index: 15;
    margin-bottom: 10px;
    padding-right: 20px;
    margin-top: 35px;
}


html, body, input, button, select, textarea {
/*font-family: "Rubik", sans-serif;*/
font-family: "Titillium Web", sans-serif;
}

#contactable td, #contactable th{
    padding-bottom: 15px;
    padding-top: 5px;
}

.contactdivider {
    clear: both;
    padding-top: 30px;
}

.half {
width:48%;
}

.halfleft {
float:left;
}

.halfright {
    float: right;
    border-radius: 20px;
    margin-top: 1em;
}

th {
vertical-align: top;
    text-align: right;
    padding-right: 20px;
}

.owl-carousel .item {
    border-radius:8px;
    position:relative;
}

.owl-carousel .item img {
    width: 100%;
    height: auto;
    display: block;
}

.galleryid-13.gallery-size-medium .item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

.owl-carousel .gallery-item {
    float: none !important;
    margin-top: 0 !important;
    width: 100% !important;
}

#gallery-4 .owl-stage-outer {
overflow:visible;
}

#gallery-4 .item img {
filter: saturate(.8);
}

.pswp.pswp--open.pswp--has_mouse.pswp--zoom-allowed.pswp--click-to-zoom {
    --pswp-bg: #000000cc;
    backdrop-filter: blur(20px);
}

#video {
position: relative;
    height: 600px;
    overflow: hidden;
    -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;
    border-top: 195px solid #4a87b1;
        z-index: 10;
        perspective:1000px;
}

#stillpic {
    display: block;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%) rotate(0) scale(1.05);
    left: 50%;
    animation-name: rotate;
    animation-duration: 120s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 1000ms ease;
    z-index: 100;
    opacity: .3;
}

#videolayer:hover + #stillpic {
transform: translate(-50%, -50%) rotate(0) scale(1.5);
}

@keyframes rotate {
  0% {transform: translate(-50%, -50%) rotate(0deg) scale(1.05);}
  50% {transform: translate(-50%, -50%) rotate(180deg) rotateX(20deg) rotateY(-20deg) scale(2);}
  100% {transform: translate(-50%, -50%) rotate(360deg) scale(1.05);}
}

#video.off {
    padding-bottom: 0%;
}

#video #frontlayer {
    position: absolute;
    z-index: 1000;
    text-align: center;
    width: 100%;
    margin-top: 0;
    font-size: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
    box-sizing: border-box;
}

#frontlayer h1 {
font-size: 50px;
    font-weight: 600;
    color: white;
    padding: 0;
    margin: 50px auto 20px;
    opacity: 1;
    -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;
    padding: 0 20px;
    max-width: 1260px;
    line-height: 1.3em;
}

#frontlayer h1.off {
opacity:0;
}

#frontlayer h2 {
    color: #ffffff;
    margin: 20px 0 20px;
    display: block;
    overflow: hidden;
    -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;
    opacity: 1;
    font-weight: 300;
    font-size: 24px;
    max-width: 740px;
    margin: 20px auto 20px;
}

#frontlayer h2.off {
    opacity:0;
}

#frontlayer h2.out {
	opacity:0;    
}

#frontlayer .linea {
width: 400px;
    height: 1px;
    background-color: wheat;
    display: inline-block;
  -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;
	display: none;  
}

#frontlayer .linea.out {
margin-top:20px;
}

#frontlayer .linea.off { 
width:0;
opacity:0;
}

#frontlayer .button {
margin-top: 0px;
border-radius: 50px;
  transition:  all 800ms ease;
width:180px;
    white-space: nowrap;
    overflow: hidden;
}

#frontlayer .button.out {
    transform:scale(0);
}

#frontlayer .button.off {
    width: 18px;
    color: #46c58f;
}

#videolayer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: linear-gradient(-80deg, #4a87b1dd 0%, #335c79dd 50%, #4a87b1dd 100%);
        background-color: #4a87b1;
    box-shadow: 0 0 150px #00000088 inset;
}

#video video {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}


#hover {
    border-radius: 30px;
    position: absolute;
    height: 60px;
    width: 0;
    top: 0;
    background-color: #f0f0f0;
    opacity:0;
-webkit-transition: all 600ms cubic-bezier(0.505, 0, 0.000, 1); /* older webkit */
-webkit-transition: all 600ms cubic-bezier(0.505, -0.045, 0.000, 1.140); 
   -moz-transition: all 600ms cubic-bezier(0.505, -0.045, 0.000, 1.140); 
     -o-transition: all 600ms cubic-bezier(0.505, -0.045, 0.000, 1.140); 
        transition: all 600ms cubic-bezier(0.505, -0.045, 0.000, 1.140); /* custom */

-webkit-transition-timing-function: cubic-bezier(0.505, 0, 0.000, 1); /* older webkit */
-webkit-transition-timing-function: cubic-bezier(0.505, -0.045, 0.000, 1.140); 
   -moz-transition-timing-function: cubic-bezier(0.505, -0.045, 0.000, 1.140); 
     -o-transition-timing-function: cubic-bezier(0.505, -0.045, 0.000, 1.140); 
        transition-timing-function: cubic-bezier(0.505, -0.045, 0.000, 1.140); /* custom */
}

a, .fast {
  transition:         all 150ms ease;
}

.anim {
  transition:         all 300ms ease;
}

.slow {
  transition:         all 600ms ease;
}

.hide {
opacity:0 !important;
}

.breadcrumb {
    font-size: 11px;
    margin-bottom: 70px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.4em;
    padding: 0;
}

.breadcrumb .padding {
padding:0px;
}

.breadcrumb li {
  display: inline-block;
  color: rgba(255,255,255,.7);
}

.breadcrumb a {
  text-decoration: none;
    color: rgba(255,255,255,.9);
}

.parent::after {
  display: inline-block;
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f054";
  margin: 0 13px;
}

h1, h2, h3, h4, h5, h6 {
line-height: 1.3em;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 38px;
}

h3 {
    font-size: 28px;
}

.wrapper{
margin: 0 auto;
    max-width: 1400px;
    position: relative;
    padding: 0;
    z-index: 10;
}

.button {
padding: 18px 28px;
    text-transform: uppercase;
    font-size: 19px;
    background-color: #f15922;
    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-weight: bold;
    -webkit-appearance: none;
    text-decoration: none;
    display: inline-block;
    border-radius:50px;
}

.button:hover {
background-color:#111;
}

.cancel {
background-color:#DE716E;
}


.bigfull {
    text-align: left;
    padding: 50px 0 70px;
    background-position: center center;
    background-size: cover;
}

.bigfull .entry {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.bigfull .entry-body {
    flex: 1;
    min-width: 0;
}

.bigfull .entry-body h2 {
    margin-top: 0;
}

.toleft,
.toright {
    position: relative;
    width: 42%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 16px;
    min-height: 220px;
}

.toleft {
    order: -1;
}

.toright {
    order: 1;
}

.bigfull .fullheight img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    display: block;
}

#adatok {
    text-align: center;
    font-size: 0;
    margin: 0px auto;
    position: relative;
    padding: 100px 0;
}

#adatok .bigback {
    background-color: #e1e1e1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

#adatok .bigback img {
    position: fixed;
    opacity: .1;
    filter: contrast(5) grayscale(1);
}

#adatok h2 {
    font-size: 52px;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.adat {
display: inline-block;
    width: 17%;
    font-size: 16px;
    vertical-align: top;
    color: #000000;
    margin-bottom: 30px;
    background-color: #ffffff;
    margin: 0 1% 2%;
    padding: 3% 0;
    border-radius: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.adat img {
    width: auto;
    max-width: 70px;
    height: auto;
    margin-bottom: 10px;
    opacity: .5;
}

.mint {
font-size: 50px;
    font-weight: bold;
    letter-spacing: -0.03em;
    color: #f15922;
    line-height: 1em;
}

#rolunk {
    background-color: #ffffff;
    color: #313131;
    position: relative;
    overflow: hidden;
}

#termekeink {
        background-color: #4a87b1;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 150px #00000088 inset;
}

#karrier {
    background-color: #fff;
    color: #333;
    position: relative;
    overflow: hidden;
}

#feltoltes-form input[type="file"]{
  display: none;
}

.formline {
margin-bottom: 10px;
}

label {
    display: block;
    width: 100px;
    vertical-align: top;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2px;
}

textarea.field {
    max-width: 100%;
    min-height: 180px;
}

#contactform {
    padding: 30px;
    color: white;
    border-radius: 24px;
    background: linear-gradient(-25deg, #2e546f, #41789e);
}

#contactform h2 {
    border-bottom: 5px solid #ffffff44;
    padding-bottom: 30px;
    margin-top: 0px;
}

#fieldboxes {
    font-size: 0;
    margin-right: -2%;
}

.fieldbox {
    width: 33.33%;
    display: inline-block;
    margin-bottom: 20px;
    padding-right: 2%;
    box-sizing: border-box;
}

.field {
    padding: 12px 15px;
    font-size: 17px;
    display: inline-block;
    border: none;
    width: 100%;
    border-radius: 24px;
    box-sizing: border-box;
}

.fieldbox .field {
    width: 100%;
    box-sizing: border-box;
}

.infotext {
  font-size: 12px;
  text-align: right;
  opacity: 0.7;
}

.mcenter {
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;
    font-size: 11px;
    overflow: hidden;
    height: 25px;
    background-color: #f15922;
}

#topsocial {
    position: absolute;
    right: 0;
    font-size: 17px;
    top: -5px;
}

#topsocial a {
color: #ffffffcc;
    padding: 3px 10px 3px 10px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    font-size: 14px;
}

#topsocial a:hover {
color: #ffffff;
}

header{
    box-shadow: 0px 0px 60px -10px rgba(0, 0, 0, .5);
    z-index: 300;
    position: fixed;
    width: 100%;
    opacity: 1;
    background-color: white;
    top: 0;
}

header a, h3 a {
text-decoration:none;
}

.headon #statusbar {
height:0;
    padding: 0px;
}

.headon #logo {
padding:10px 0;
}

.headon #logo img {
    height: 60px;
    width: 50px;
}

#logo {
    position: relative;
    padding: 40px 0px;
    display: inline-block;
    line-height: 0;
}

#logo img {
    height: 90px;
    width: 195px;
    object-fit: cover;
    object-position: left;
    transition: all 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

#topmenu {
	position:absolute;
right:0;
}

#hamburger {
  display: none;
}

#hambi div {
  background-color: #77787b;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
	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);
}

.menu-menu-1-container {
    position: relative;
    z-index: 100;
}

.nav {
	list-style:none;
  padding:0;
  margin:0;
  font-size:0;
}

.nav li{
	display:inline-block;
	position:relative;
	transition: all 150ms ease;
	-webkit-transition: all 150ms ease;
	-moz-transition: all 150ms ease;
	-o-transition: all 150ms ease;
  margin-left:0px;
  border-radius:50px;
}

.nav li a{
display: block;
    text-decoration: none;
    color: #555;
    padding: 20px 35px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0px;
    line-height: 1em;
}

.nav ul {
background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    float: left;
    z-index: 99999;
    padding: 13px;
    box-shadow: 0px 29px 20px -12px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s,opacity 0.3s linear,transform 0.6s ease;
    border-radius: 0 0 30px 30px;
    overflow:hidden;
        transform: translateY(10px);
}

.nav li:hover > ul{
visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    transform: translateY(0);
}

.nav ul ul{
	top: 30%;
	left:100%;
	background: #343434;
}

.nav ul li {
    width: 100%;
    margin: 3px 0 0px 0;
}

.nav ul a{
    height: auto;
    line-height: 1em;
    padding: 15px 20px;
    border-left: none;
    border-right: none;
    width: initial;
    white-space: nowrap;
    font-size: 13px;
}

.nav li a:hover {
}

.menu-item-has-children > a::after {
    font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f107";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    margin-left: 10px;
}

.current-menu-item > a {
}


#slider .slide {
height: 400px;
background-size: cover;
background-position: center center;
}

article {
    max-width: 1400px;
    margin: -20px auto 80px;
    background-color: white;
    position: relative;
    z-index: 100;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    border-radius: 50px;

}

.padding {
margin:0 3%;
position:relative;
}

#tophead {
    position: relative;
        background-color: #4a87b1;
    overflow: hidden;
    padding-top: 180px;
    box-shadow: 0 0 150px #00000088 inset;
}

#tophead img, .bigback img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100% !important;
    height: 100% !important;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0.03;
    width: auto;
    height: auto;
    filter: grayscale(1) contrast(2);
    object-fit:cover;
}

#termekeink .bigback img {
    opacity: 0.03;
}

#tophead h1 {
    font-size: 71px;
    font-weight: bold;
    color: #ffffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -4px;
    margin: 100px 0 0px;
    line-height: 1.2em;
}

.editpostlink {
position: absolute;
    right: 0px;
    top: 5px;
}

.subpages {
    color: #f15922;
    font-size: 21px;
    font-weight: bold;
    list-style: square;
    text-transform: uppercase;
}

.subpage a {
    text-decoration: none;
    color: #555555;
    padding: 5px 0;
    display: block;
}

.post {
background-color: white;
    position: relative;
    margin: 20px 0 50px;
    color: #555;
    overflow: hidden;
    padding: 20px 60px;
    box-sizing: border-box;
}

.entry .gallery {
    margin: 50px 0 50px -60px !important;
    width: calc(100% + 120px);
    clear:both;
}

.gallery img {
    border: 0px solid #cfcfcf !important;
}

.wp-caption-text {
    font-size: 12px;
    position: absolute;
    bottom: 0;
    color: white;
    text-align: center;
    width: 100%;
    box-shadow: 0 -25px 15px -10px #172f3f66 inset;
    transition: all 800ms ease;
}

.item:hover > .wp-caption-text {
    box-shadow: 0 -45px 5px 0px #172f3fee inset;
}

.entry a {
    color: #f15922;
}

.entry a:hover{
	color: #e14912;
}

.entry img {
max-width: 100%;
height: auto;
border-radius:16px;
}

.entry iframe {
    border-radius: 16px;
    background-color: #eee;
    width: 100%;
    aspect-ratio: 1 / 0.6;
    height: auto;
}

.alignright {
  float: right;
    margin: 0 0 2% 4%;
}

.alignleft {
    float: left;
    margin: 0 4% 2% 0;
}

.alignleft, .alignright {
width:40%;
  font-size: 0;
}

.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: right;
    width: 360px;
    list-style: none;
    /* background-color: #EEE; */
    padding: 50px 0 50px 30px;
}

#facebook {
overflow:hidden;
}

footer{
    clear: both;
    text-align: center;
    padding: 30px 30px 50px;
    background-color: #222;
    color: #ccc;
    font-size: 13px;
    background: linear-gradient(155deg, #313131 40%, #111 80%, #f15922 120%);
    position: relative;
    overflow: hidden;
}

#footboxes {
    font-size: 0;
}

.footbox {
    display: inline-block;
    width: 25%;
    vertical-align: top;
    font-size: 15px;
    min-height: 240px;
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
}

.footnav a {
    text-transform: uppercase;
    font-size: 17px;
}

.footnav li {
margin-bottom:4px;
color:#888;
}

#footcontact {
    line-height: 1.45em;
    font-size: 13px;
}

#footcontact p {
    margin: 0 0 14px;
}

#footcontact p:last-child {
    margin-bottom: 0;
}

#footcontact strong {
    display: block;
}

#footcontact p strong:not(:first-child) {
    margin-top: 14px;
}

#footcontact strong + br {
    display: none;
}

footer .bigback img {
object-position:bottom;
}

footer a {
color:#fff;
text-decoration:none;
font-weight:bold;
}

footer a:hover {
color:#fff;
}

footer span {
display:inline-block;
}

#footlogo img {
    width: 200px;
    max-width: 100%;
}

.clear {
clear:both;
}

@media screen and (max-width: 1200px) {

.half {
    width: 100%;
    float: none;
}

.half img, #contactable {
        width: 100%;
        font-size: 18px;
}

#tophead h1 {
    font-size: 55px;
    letter-spacing: -2px;
}

.nav li a {
    padding: 20px 20px;
    font-size: 18px;
}
}

@media screen and (max-width: 1000px) {

article {
    border-radius: 30px;
}
.post {
    padding: 20px 30px;
}
    .adat {
        width: 260px;
    }

#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%);
}

#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;
	background-color:#fff;
	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:#eee;
	opacity:0;
	visibility:hidden;	
}

.nav ul li {
text-align:center;
background-color:#222;
} 

.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;
}
    
}

@media screen and (max-width: 800px) {

.bigfull .entry {
    flex-direction: column;
    gap: 24px;
}

.toleft,
.toright {
    width: 100%;
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

#maptable td {
    width: 100%;
    display: block;
}

.footbox {
    width: 50%;
}

#slider .slide {
height: 300px;
}

.owl-prev, .owl-next {
line-height: 270px;
}

article {
width:100%;}

aside {
    width: calc(100% - 0px);
    padding: 50px 0;
}

}

@media screen and (max-width: 600px) {
.box {
    padding-left: 0px;
}

    .box img {
        position: relative;
        width: 100%;
        height: auto;
    }
    
 .excerpt, .box h3, .post-date {
        padding-left: 15px;
        margin-top: 20px;
}   

    #contactable td, #contactable th {
        padding-bottom: 5px;
        padding-top: 0px;
        padding-right: 5px;
        font-size: 15px;
        line-height: 1.5em;
    }

#video {
    height: auto;
    border-top: 0;
    padding-top: 195px;
}

#videolayer {
    top: 0;
    bottom: 0;
    height: auto;
}

#video #frontlayer {
    position: relative;
    top: auto;
    transform: none;
    padding: 48px 24px 72px;
}

#frontlayer h1 {
    font-size: 40px;
    margin: 0 auto 16px;
    padding: 0;
}

#frontlayer h2 {
    font-size: 20px;
    line-height: 1.5em;
    margin: 0 auto 28px;
}
    
.post {
    padding: 10px 30px;
}

#tophead h1 {
    font-size: 35px;
    letter-spacing: -1px;
}

.alignright, .alignleft {
  float: none;
  margin: 0;
    width:100% !important;
}

.alignright img, .alignleft img {
          width: 100% !important;
}

}

@media screen and (max-width: 500px) {

input.button {
    display: block;
    width: 100%;
}

#fieldboxes {
    margin-right: 0;
}

.fieldbox {
        width: 100%;
        display: block;
        padding: 0;
}
    

}

@media screen and (max-width: 400px) {

#video {
    padding-top: 175px;
}

    .footbox {
        width: 100%;
        padding: 0;
        min-height: initial;
        margin: 20px 0;
    }
    
    .footbox ul {
    padding-left: 20px;
}
    
#logo img {
        height: 70px;
        width: 152px;
}

label {
display:block;
width:auto;
padding-bottom: 0;
}

.field, textarea {
display:block;
width: calc(100% - 22px);
max-width: calc(100% - 22px);
}


}