/*
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: #4d4d4d;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    background-color:#f8f8f8;
    -webkit-text-size-adjust: 100%;
}

input#okeres {
    padding: 20px;
    font-size: 18px;
    box-sizing: border-box;
    width: 100%;
}

a.searchbtn {
    right: 0;
    position: absolute;
    font-size: 24px;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    color:#00358e;
}

#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: #1c4968;
    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;
}

#result {
    padding: 0;
}

#result li {
    color: #ccc;
    border-bottom: 1px solid #ddd;
    padding-top: 8px;
    list-style: none;
    margin: 0;
}

#result a {
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}

#result .date {
font-size: 12px;
    font-weight: normal;
    margin-right: 5px;
    display: block;
    line-height: 1em;
}


#kmodule {
    background-color: #eee;
    padding: 50px 0;
}

.half {
    width: 45%;
}

.halfleft {
    float: left;
}

.halfright {
    float: right;
}

.elerhetosegeink ul {
list-style:none;
position:relative;
}

.elerhetosegeink li {
margin-bottom:20px;
}

.elerhetosegeink i {
    position: absolute;
    left: 0;
    font-size: 30px;
    color: #444;
}

#raktarrol {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    background-color: black;
}

#raktarrolback img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

#raktarrol .entry {
    max-width: 600px;
    float: right;
    text-align: right;
    color: white;
    font-size: 16px;
    padding: 200px 0;
        text-shadow: 2px 2px 5px black;
}

#raktarrol h2 {
    color: white;
    font-weight: bold;
    margin-top: 0;
}

#raktarrol a.button {
    margin-top: 1.6em;
        text-shadow: none;
}

.nicetable {
border-collapse: collapse;
    margin-bottom: 60px;
    margin-left: calc(-30px - 1.3%);
    width: calc(102.6% + 60px) !important;
}

.nicetable td, .nicetable th {
    position: relative;
    padding: 6% 5% 8%;
    line-height: 1.5em;
}

.nicetable img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

#raktar .raktar-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 60px;
    margin-bottom: 100px;
    border: 2px solid #00358e;
    background-color: white;
}

#raktar table {
    width: 100% !important;
    margin-top: 60px;
    border-collapse: collapse;
    border: none;
    margin-bottom: 100px;
    height: auto !important;
        background-color: white;
    border: 2px solid #00358e;
}

#raktar .raktar-table-scroll table {
    width: max-content !important;
    min-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
}

#raktar .raktar-table-scroll th,
#raktar .raktar-table-scroll td {
    white-space: nowrap;
}

#raktar table tr:first-child {
    background-color: #00358e;
    color: white;
}


#raktar tr {
width:100%;
    height: auto !important;
}

#raktar th, #raktar table tr:first-child td {
    padding: 10px;
    border-bottom: 1px solid #4d4d4d;
    font-weight: bold !important;
        border-left: none;
        border-right: none;
        border-top: none;
            height: auto !important;
                text-align: center;
}

#raktar td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
            border-left: none;
        border-right: none;
        border-top: none;
            height: auto !important;
                text-align: center;
}

#raktar table img {
height:40px;
width:auto !important;
}

#raktar .subpage {
    flex: 0 0 calc((100% - 48px) / 5);
    width: calc((100% - 48px) / 5);
    aspect-ratio: 1 / 1;
    margin: 0;
    padding-bottom: 0;
}



hr {
    clear: both;
    opacity: 0;
}

div#rolunk, #termekeink, #szolgaltatasaink {
text-align: center;
    margin: 60px 0 80px;
}

#rolunk .entry {
    margin: 0 auto;
}

#rolunk .entry p {

    margin: 30px auto 30px;
}

#termekeink .entry p, #szolgaltatasaink .entry p{
max-width: 1000px;
    margin: 20px auto;
}

#rolunk .entry img {
width: 100%;
}

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;
    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 {
font-family: 'Roboto', sans-serif;
    line-height: 1.3em;
    color: #4d4d4d;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

.wrapper{
	margin: 0 auto;
	max-width:1600px;
  position:relative;
padding:0;
}

.narrow {
max-width: 1200px;
    box-shadow: 10px 10px 30px #00000022;
    padding: 30px;
    margin-top: -30px;
    z-index: 100;
    background-color: white;
    }

.button {
    padding: 18px 28px;
    text-transform: uppercase;
    font-size: 17px;
    background-color: #ffcd00;
    color: #474747 !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: 'Roboto', sans-serif;
    font-weight: bold;
    -webkit-appearance: none;
    text-decoration: none;
    display: inline-block;
    padding: 18px 38px;
}

.button:hover {
filter:brightness(1.1);
}

.cancel {
background-color:#DE716E;
}

.layout {
padding:5% 0;
position: relative;
overflow: hidden;
}

.entry {
position:relative;
z-index:100;
line-height:1.4em;
    overflow: hidden;
}

.entry ul {
      list-style: none;
    line-height: 1.5em;
}

.entry ul li::before {
content: "";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    width: 6px;
    height: 6px;
    background-color: #ffcd00;
    vertical-align: middle;
    margin-right: .5em;
}

.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 {
    display: flex;
    gap: 16px;
}

.fieldbox {
    flex: 1;
    min-width: 0;
    margin-bottom: 20px;
}

.field {
    padding: 10px 14px;
    font-size: 16px;
    display: inline-block;
    border: 1px solid #BBB;
    box-sizing: border-box;
    width: 100%;
}

.dropdown {
width: calc(100% - 110px);
  padding: 5px;
  border-radius: 0px;
  border: 1px solid #BBB;
}

#contactform textarea {
    width: 100%;
    padding: 7px 10px;
    font-size: 16px;
    min-height: 150px;
    display: inline-block;
    border: 1px solid #BBB;
    box-sizing: border-box;
    max-width: 100%;
}

.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: 13px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.headon #statusbar {
padding: 0;
    height: 0;
}

#slogan {
    padding-right: 90px;
    color: #999;
}

.sloganbox {
    margin-right: 40px;
    display: inline-block;
    vertical-align: top;
    letter-spacing: .5px;
}

#slogan i {
    font-size: 17px;
    margin-right: 5px;
}

#icons {
    position: absolute;
    right: 0;
    top: 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: #00358e;
    border-left: 1px solid rgba(255,255,255,.5);
    padding: 0 10px;
    text-align: center;
    font-size: 17px;
    vertical-align: middle;
}

header{
    z-index: 300;
    position: relative;
    width: 100%;
    opacity: 1;
    background-color: white;
    font-size: 0;
}

header a, h3 a {
text-decoration:none;
}

#logo {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align:top;
}

#logo img {
height: 30px;
    width: auto;
    padding: 18px 22px;
    border-right: 1px solid #eee;
}

#topmenu {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

#hamburger {
  display: none;
}

#hambi div {
  background-color: #fff;
  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);
}

.nav {
	list-style:none;
  padding:0;
  margin:0;
  font-size:0;
}

.nav li{
	display:inline-block;
	position:relative;
	transition: all 300ms ease;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	overflow:hidden;
	vertical-align:top;
}

.nav li:last-child {
border-right: none;
}

.nav li a{
    font-family: 'Roboto', sans-serif;
    display: block;
    text-decoration: none;
    color: #00358e;
    padding: 25px 20px;
    font-size: 14px;
    text-transform: uppercase;
    border-right: 1px solid #eee;
    font-weight: bold;
}

.nav ul {
    background-color: white;
    position: absolute;
    top: 100%;
    z-index: 99999;
    padding: 0px 0 5px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s,opacity 0.3s linear;
    width: max-content;
    left: 50%;
    display: table;
    transform: translateX(-50%);
    border-top: 1px solid #eee;
}

#menu-item-26 .sub-menu {
    transform: translateX(0);
    left:0;
}

.nav li:hover {
	overflow:visible;
}

.nav li:hover > ul{
  visibility:visible;
  opacity:1;
  transition-delay:0s;
}

.nav ul ul{
    top: 100%;
    left: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    position: relative;
    border-top: none;
}

.nav ul ul li {
display:block;
}

.nav ul ul li a {
    font-size: 13px;
    padding: 9px 20px;
    font-weight:normal;
}

.nav ul li {
width: auto;
    display: inline-block;
}

.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.04) inset;
}

.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 {
    background-color: rgb(255 205 0);
}

.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: left;
    width: 75%;
    position: relative;

}

.padding {
    margin: 0 1.3%;
    position: relative;
}

#tophead {
    position: relative;
    padding: 5px 0 0;
    background-color: #505050;
    overflow: hidden;
    background-size: cover;
}

#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: .4;
    width: auto;
    height: auto;
}

#tophead h1 {
    font-size: 54px;
    font-weight: bold;
    color: #fdfdfd;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 5% 0 0px;
    line-height: 1.2em;
}

.editpostlink {
position: absolute;
    right: 0px;
    top: 5px;
}

.box {
    display: block;
    clear: both;
    overflow: hidden;
    background-color: #eee;
    padding: 0 5%;
    margin-bottom: 20px;
}    

.subpages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-align: center;
}

.subpage {
    display: block;
    flex: 0 0 calc((100% - 24px) / 3);
    width: calc((100% - 24px) / 3);
    position: relative;
    background-color: #ccc;
    aspect-ratio: 4 / 3;
    height: auto;
    padding-bottom: 0;
    vertical-align: top;
    overflow: hidden;
}

.subpage .vizjel {
display:none;
}

.subpage img {
    width: 100%;
    height: 100% !important;
    position: absolute;
    object-fit: cover;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    left: 0;
    top: 0;
}

.subpage h2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    font-size: 19px;
    padding: 13px;
    margin: 0;
    box-sizing: border-box;
    text-transform: uppercase;
}

.subpage:hover > a img {
transform:scale(1.1);
}

.subpage > a {
    display: block;
    position: absolute;
    inset: 0;
}

@media screen and (max-width: 1000px) {
    .subpage {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }

    .subpage h2 {
        font-size: 16px;
        padding: 10px;
    }

    #raktar .subpage {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }
}

@media screen and (max-width: 600px) {
    .subpage,
    #raktar .subpage {
        flex: 0 0 100%;
        width: 100%;
    }

    .subpage h2 {
        font-size: 18px;
        padding: 12px;
    }
}

.vizjel {
    position: absolute;
    /* background-color: rgba(255,255,255,.3); */
    width: 190px;
    height: 200px;
    z-index: 1000;
    background-image: url(images/vizjel.png);
    background-repeat: no-repeat;
    background-size: 120px auto;
    background-position: bottom 10px right 10px;
    opacity: .4;
}

.post {
    padding: 0px 0;
    position: relative;
    margin: 30px 0 60px;
}

.entry a {
	color: #444;
}

.entry a:hover{
	color: #4d4d4d;
}

.entry img {
max-width: 100%;
height: auto;
}

.entry iframe,
.entry embed,
.entry video,
.entry .wp-block-embed,
.entry .wp-block-embed__wrapper,
.entry .wp-embedded-content {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.entry iframe,
.entry embed,
.entry video {
    height: auto !important;
    aspect-ratio: 16 / 9;
    min-height: 200px;
}

.entry p:has(> iframe),
.entry p:has(> embed) {
    text-align: left;
}

.alignright {
  float: right;
  margin: 0 0 2% 3%;
}

.alignleft {
  float: left;
margin: 0 3% 2% 0;
}

.alignleft, .alignright {
width:40%;
  font-size: 0;
    line-height: 0;
}

.alignleft img, .alignright img {
width:100%;
height:100%;
}

.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: right;
    width: 23%;
    list-style: none;
    background-color: #EEE;
    padding: 50px 30px;
    box-sizing: border-box;
}

#facebook {
overflow:hidden;
}

footer{
position:relative;
clear: both;
text-align: center;
padding: 30px;
background-color: #0b1f41;
color: #ccc;
font-size:14px;
z-index:10;
}

footer a {
color:#fff;
text-decoration:none;
font-weight:bold;
}

footer a:hover {
color:#fff;
}

footer span {
display:inline-block;
}

.clear {
clear:both;
}

@media screen and (max-width: 1300px) {
#tophead h1 {
    font-size: 44px;
   }
   
.breadcrumb {
    font-size: 10px;
    letter-spacing: 0px;
}

.parent::after {
    margin: 0 3px;
}
}

@media screen and (max-width: 800px) {
    #tophead h1 {
        font-size: 34px;
    }
    
.nicetable, .nicetable tr, .nicetable th, .nicetable td {
display:block;
}

#slider .slide {
height: 300px;
}

.owl-prev, .owl-next {
line-height: 270px;
}

article {
width:100%;}

aside {
width: calc(100% - 60px);
}

}

@media (max-width: 768px) {
footer {
padding-bottom:120px;
}

.half {
    width: auto;
    float:none;
}
}

@media screen and (max-width: 600px) {
#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;
	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 {
text-align:center;
background-color:#000;
} 

.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: 500px) {
h1 {
    font-size: 34px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 20px;
}


.fieldbox {
    width: 100%;
    flex: none;
}

#fieldboxes {
    flex-direction: column;
    gap: 0;
}

}

@media screen and (max-width: 400px) {
h1 {
    font-size: 30px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

#logo img {
height:60px;
}

label {
display:block;
width:auto;
padding-bottom: 0;
}

.field, textarea {
display:block;
width: 100%;
max-width: 100%;
}

.alignright, .alignleft {
  float: none;
  margin: 0;
    width:100%;
}

.alignright img, .alignleft img {
  width:100%;
}


}



/* =========================================================
   VIMAG reszponzív főmenü javítás
   Tedd a style.css legvégére, hogy felülírja a régi menüstílusokat.
   ========================================================= */

:root {
    --vimag-blue: #00358e;
    --vimag-yellow: #ffcd00;
    --vimag-border: #e9edf3;
    --vimag-text: #0f1f3d;
}

header {
    position: relative;
    z-index: 9990;
    overflow: visible;
    background: #fff;
    max-width: 100%;
}

html {
    overflow-x: clip;
}

#statusbar {
    box-sizing: border-box;
}

#logo {
    position: relative;
    display: inline-block;
    vertical-align: top;
    z-index: 2;
}

#logo img {
    height: 30px;
    width: auto;
    max-width: 190px;
    box-sizing: content-box;
}

#topmenu {
    position: static;
    display: inline-block;
    vertical-align: top;
    font-size: 0;
}

#topmenu .menu-menu-1-container {
    display: block;
}

.nav,
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    font-size: 0;
}

.nav > li {
    display: flex;
    position: static;
    overflow: visible;
    vertical-align: top;
}

.nav > li > a {
    display: flex;
    align-items: center;
    min-height: 66px;
    box-sizing: border-box;
    padding: 0 clamp(12px, 1.05vw, 20px);
    border-right: 1px solid #eee;
    color: var(--vimag-blue);
    font-size: clamp(12px, .78vw, 14px);
    line-height: 1.25em;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.nav > li > a:hover,
.nav > li:focus-within > a {
    background: #f6f8fb;
    color: var(--vimag-blue);
}

.nav > li.current-menu-item > a,
.nav > li.current-menu-ancestor > a,
.current-menu-item > a {
    /*background: var(--vimag-yellow);*/
    color: #002b75;
}

.menu-item-has-children > a::after {
    margin-left: 10px;
    flex: 0 0 auto;
}

/* Desktop lenyíló / mega menü – a saját menüpont alatt nyílik */
.nav > li > .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 99999;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px 34px;
    width: max-content !important;
    max-width: min(1180px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 120px);
    overflow: auto;
    box-sizing: border-box;
    padding: 28px 30px 30px !important;
    background: #fff;
    border: 1px solid var(--vimag-border);
    border-top: 3px solid var(--vimag-yellow);
    box-shadow: 0 22px 60px rgba(5, 20, 50, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) !important;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

#menu-item-26 > .sub-menu {
    width: min(1180px, calc(100vw - 32px)) !important;
    transform: translateY(8px) !important;
}

.nav > li:hover > .sub-menu,
.nav > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) !important;
    transition-delay: 0s;
}

#menu-item-26:hover > .sub-menu,
#menu-item-26:focus-within > .sub-menu {
    transform: translateY(0) !important;
}

.nav > li > .sub-menu > li {
    display: block !important;
    width: auto !important;
    overflow: visible;
    background: transparent;
}

.nav > li > .sub-menu > li > a {
    display: block;
    padding: 0 0 12px !important;
    border: 0;
    border-bottom: 1px solid var(--vimag-border);
    color: var(--vimag-blue);
    font-size: 14px;
    line-height: 1.35em;
    font-weight: 800;
    text-transform: uppercase;
    white-space: normal;
}

.nav > li > .sub-menu > li > a:hover {
    background: transparent;
    color: #001f58;
}

.nav > li > .sub-menu > li > a::after {
    margin-left: 8px;
}

.nav > li > .sub-menu > li > .sub-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    max-height: none;
    overflow: visible;
    padding: 8px 0 0 !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.nav > li > .sub-menu > li > .sub-menu > li {
    display: block !important;
    width: 100% !important;
    background: transparent;
}

.nav > li > .sub-menu > li > .sub-menu > li > a {
    display: block;
    padding: 7px 0 !important;
    border: 0;
    color: var(--vimag-blue);
    font-size: 13px;
    line-height: 1.35em;
    font-weight: 500;
    text-transform: uppercase;
    white-space: normal;
}

.nav > li > .sub-menu > li > .sub-menu > li > a:hover {
    color: #001f58;
    background: transparent;
    padding-left: 4px !important;
}

.nav li:hover {
    overflow: visible;
}

.nav li:active,
.nav li:focus,
.clicked {
    box-shadow: none;
}

/* Köztes laptop méret: még vízszintes, de szorosabb */
@media screen and (min-width: 1181px) and (max-width: 1450px) {
    #logo img {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav > li > a {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 12px;
    }
}

/* Tablet / mobil: hamburgeres menü */
@media screen and (max-width: 1180px) {
    header {
        min-height: 64px;
    }

    #logo img {
        height: 30px;
        padding: 17px 18px;
        border-right: 0;
    }

    a.searchbtn {
        right: 68px;
        z-index: 100002;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    #hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 16px;
        top: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        transform: translateY(-50%);
        z-index: 100001;
    }

    #hambi {
        width: 28px;
    }

    #hambi div {
        width: 28px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--vimag-blue) !important;
        border-radius: 2px;
    }

    #topmenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999;
        display: block;
        width: 100% !important;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: #fff !important;
        box-shadow: 0 22px 50px rgba(5, 20, 50, .18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    #topmenu.menuon,
    nav#topmenu.menuon,
    .menuon#topmenu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    #topmenu .menu-menu-1-container {
        width: 100%;
    }

    .nav {
        display: block !important;
        width: 100%;
    }

    .nav > li,
    .nav ul li {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        background: transparent !important;
        overflow: visible;
    }

    .nav > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 0;
        padding: 16px 22px !important;
        border-right: 0;
        border-top: 1px solid var(--vimag-border) !important;
        color: var(--vimag-blue);
        font-size: 15px;
        line-height: 1.3em;
        white-space: normal;
    }

    .nav > li.current-menu-item > a,
    .nav > li.current-menu-ancestor > a,
    .current-menu-item > a {
        background: var(--vimag-yellow) !important;
    }

    .menu-item-has-children > a::after {
        margin-left: 12px;
    }

    .nav > li > .sub-menu,
    #menu-item-26 > .sub-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-height: none;
        overflow: visible;
        padding: 0 !important;
        background: #f7f9fc !important;
        border: 0;
        border-top: 1px solid var(--vimag-border);
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
        transform: none !important;
    }

    .nav > li > .sub-menu > li > a {
        padding: 13px 28px !important;
        border: 0;
        border-bottom: 1px solid var(--vimag-border);
        background: #f7f9fc;
        color: var(--vimag-blue);
        font-size: 13px;
        line-height: 1.35em;
        font-weight: 800;
        white-space: normal;
    }

    .nav > li > .sub-menu > li > .sub-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        padding: 4px 0 8px !important;
        background: #fff !important;
        border: 0;
        box-shadow: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav > li > .sub-menu > li > .sub-menu > li > a {
        padding: 9px 38px !important;
        border: 0;
        color: #24446f;
        font-size: 13px;
        line-height: 1.35em;
        font-weight: 500;
        white-space: normal;
    }

    .nav > li > .sub-menu > li > .sub-menu > li > a:hover {
        padding-left: 42px !important;
    }

    #statusbar {
        padding: 8px 0;
        font-size: 12px;
    }

    #slogan {
        padding-right: 0;
    }

    .sloganbox {
        margin-right: 18px;
        margin-bottom: 4px;
    }

    #icons {
        position: static;
        display: inline-block;
        margin-top: 4px;
    }
}

@media screen and (max-width: 520px) {
    #logo img {
        height: 26px;
        max-width: 145px;
        padding: 16px 14px;
    }

    #hamburger {
        right: 10px;
    }

    .nav > li > a {
        padding: 15px 18px !important;
        font-size: 14px;
    }

    .nav > li > .sub-menu > li > a {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .nav > li > .sub-menu > li > .sub-menu > li > a {
        padding-left: 30px !important;
        padding-right: 22px !important;
    }

    .sloganbox {
        display: block;
        margin-right: 0;
    }
}

/* Hamburger pozíció javítás - a VIMAG menüpatch után tedd a style.css legvégére */
@media screen and (max-width: 1180px) {
    a.searchbtn {
        top: auto !important;
        bottom: 10px !important;
        right: 68px !important;
        transform: none !important;
        -webkit-transform: none !important;
    }

    #hamburger {
        top: auto !important;
        bottom: 10px !important;
        right: 16px !important;
        transform: none !important;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #hambi {
        width: 28px !important;
        height: 19px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    #hambi div {
        width: 28px !important;
        height: 3px !important;
        margin: 0 auto !important;
        transform-origin: center center !important;
        -webkit-transform-origin: center center !important;
        background-color: #00358e !important;
    }

    .hambitox #x1 {
        transform: translateY(8px) rotate(45deg) !important;
        -webkit-transform: translateY(8px) rotate(45deg) !important;
        -moz-transform: translateY(8px) rotate(45deg) !important;
        -ms-transform: translateY(8px) rotate(45deg) !important;
        -o-transform: translateY(8px) rotate(45deg) !important;
    }

    .hambitox #x2 {
        opacity: 0 !important;
        transform: scaleX(0) !important;
        -webkit-transform: scaleX(0) !important;
        -moz-transform: scaleX(0) !important;
        -ms-transform: scaleX(0) !important;
        -o-transform: scaleX(0) !important;
    }

    .hambitox #x3 {
        transform: translateY(-8px) rotate(-45deg) !important;
        -webkit-transform: translateY(-8px) rotate(-45deg) !important;
        -moz-transform: translateY(-8px) rotate(-45deg) !important;
        -ms-transform: translateY(-8px) rotate(-45deg) !important;
        -o-transform: translateY(-8px) rotate(-45deg) !important;
    }
}

@media screen and (max-width: 520px) {
    #hamburger {
        bottom: 7px !important;
        right: 10px !important;
    }

    a.searchbtn {
        bottom: 7px !important;
        right: 58px !important;
    }
}

/* Mobil menü kattinthatóság javítás
   Zárt állapotban a láthatatlan menü ne fogja meg a kattintásokat. */
@media screen and (max-width: 1180px) {
    #topmenu:not(.menuon),
    nav#topmenu:not(.menuon) {
        pointer-events: none !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-8px) !important;
    }

    #topmenu.menuon,
    nav#topmenu.menuon,
    .menuon#topmenu {
        pointer-events: auto !important;
        height: auto !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Desktop mega menü pozíció + almenü betűméret javítás
   Tedd a korábbi VIMAG menüpatch legvégére. */

@media screen and (min-width: 1181px) {
    #topmenu {
        position: relative !important;
    }

    .nav > li {
        position: relative !important;
        overflow: visible !important;
    }

    .nav > li > .sub-menu,
    #menu-item-26 > .sub-menu {
        left: 0 !important;
        right: auto !important;
        transform: translateY(8px) !important;
    }

    .nav > li:hover > .sub-menu,
    .nav > li:focus-within > .sub-menu,
    #menu-item-26:hover > .sub-menu,
    #menu-item-26:focus-within > .sub-menu {
        transform: translateY(0) !important;
    }

    #menu-item-26 > .sub-menu {
        width: min(1180px, calc(100vw - 32px)) !important;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    }

    #menu-item-141 > .sub-menu {
        width: min(760px, calc(100vw - 32px)) !important;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    }

    /* Jobb oldali / utolsó lenyílók: a menüpont jobb széléhez igazítva (alatta marad) */
    #menu-item-21 > .sub-menu,
    .nav > li:last-child > .sub-menu {
        left: auto !important;
        right: 0 !important;
        width: max-content !important;
        min-width: 240px;
        max-width: min(360px, calc(100vw - 32px)) !important;
        grid-template-columns: 1fr !important;
    }

    .nav > li > .sub-menu a,
    .nav ul ul li a,
    .nav > li > .sub-menu > li > .sub-menu > li > a {
        font-size: 14px !important;
    }
}

@media screen and (max-width: 1180px) {
    .nav > li > .sub-menu > li > a,
    .nav > li > .sub-menu > li > .sub-menu > li > a {
        font-size: 14px !important;
    }
}

/* Dokumentumhivatkozások */
.entry a.doc-link,
a.doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 12px 0;
    padding: 14px 18px;
    border: 1px solid #e9edf3;
    border-left: 4px solid #00358e;
    background: #f7f9fc;
    color: #4d4d4d;
    text-decoration: none;
    line-height: 1.3;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.entry a.doc-link:hover,
a.doc-link:hover {
    background: #fff;
    border-color: #00358e;
    color: #00358e;
}

a.doc-link > .fas {
    flex: 0 0 auto;
    font-size: 1.65em;
    width: 1.2em;
    text-align: center;
    color: #00358e;
}

a.doc-link--pdf > .fas { color: #c0392b; }
a.doc-link--doc > .fas,
a.doc-link--docx > .fas,
a.doc-link--odt > .fas { color: #2b579a; }
a.doc-link--xls > .fas,
a.doc-link--xlsx > .fas,
a.doc-link--ods > .fas,
a.doc-link--csv > .fas { color: #217346; }
a.doc-link--ppt > .fas,
a.doc-link--pptx > .fas,
a.doc-link--odp > .fas { color: #c43e1c; }
a.doc-link--zip > .fas,
a.doc-link--rar > .fas,
a.doc-link--7z > .fas { color: #6c5ce7; }

a.doc-link .doc-link__text {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    word-break: break-word;
}

a.doc-link .doc-link__type {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 3px;
    background: #ffcd00;
    color: #4d4d4d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

