/****** Allgemeines ******/

@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900');

body {
    color: #161615;
    font-family: 'Lato', sans-serif;
    position: relative;
    font-size: 16px;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.h3, h3 {
    font-size: 24px;
}

.hero {
    width: 100%;
}

img {
    width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

p {
  margin-bottom: 10px;
}

.frame {
    position: relative;
    width: 100%;
}

.noScale img {
    width: auto;
}

.card {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

.card h2,
.card h3 {
  margin-top: 0;
}

/******* TopNavigation ******/

ul.topNav {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    list-style: none;
    position: absolute;
    z-index: 2;
    right: 100px;
    top: 8px;
    padding-right: 0;
}

.topNav li.active.current a,
.topNav li a:hover,
.topNav a:hover,
.topNav a:focus {
    color: #88C308;
    text-decoration: none;
}

.topNav a {
    font-size: 14px;
    color: white;
    margin-left: 1em;
} 

/******* Language Menu *********/

div.langmenu {
    list-style: none;
    position: absolute;
    right: 15px;
    top: 5px;
    z-index: 4;
}

.tx-srlanguagemenu-flags {
    display: flex;
}

.tx-srlanguagemenu-flags > div:first-child {
    padding-right: 15px;
}

.langmenu img {
    max-width: 30px;
    max-height: 20px;
}

li.langitem {
    float: left;
    padding-left: 10px; 
}

/******* Navigation *******/

.nav-container {
    position: absolute;
    z-index: 3;
    width: 100%;
    min-height: 140px;
    background-color: rgba(50,50,50,0.3);
    border: none;
    margin: 0;
}

.nav-container .container {
    position: relative;
}

.navbar-header {
    z-index: 3;
    position: relative;
}

.navbar-brand img {
    width: 330px;
    position: relative;
    top: 15px;
    padding-bottom: 2.5em;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    height: auto;
}

#mainNavbar {
    padding: 0;
    box-shadow: none;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding: 0;
}

#mainNavbar li.active.current a,
#mainNavbar li a:hover,
#mainNavbar a:hover,
#mainNavbar a:focus {
    color: #88C308;
    text-decoration: none;
}

li.nav-item a {
    color: white;
    text-transform: uppercase;
}

.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
    outline: none;
}

li.nav-item {
    padding-left: 3em;
}

li.nav-item.dropdown {
    position: relative;
}

li.nav-item:first-child {
    padding-left: 0;
}

.nav>li:last-child>a {
    padding-right: 0;
}

.dropdown, .dropup {
    position: static;
}

.dropdown-menu a.subnav-link {
    color: black;
    display: block;
    padding: 1px 3px;
    text-align: center;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: transparent;
    border: none;
}

.navbar-toggler-icon {
    display: inline;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 0;
    margin-top: 42px;
    margin-right: 17px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-toggleable-lg .navbar-nav .dropdown-menu {
    position: absolute;
    padding: 8px 15px;
    flex-direction: column;
    left: 12px;
    min-width: 208px;
    float: none;
}

.dropdown-menu {
    left: -8px;
    min-width: 200px;
    font-size: 16px;
    padding: 8px;
    border-radius: 5px !important;
    border: 1px solid;
}

.navbar-collapse.in {
    overflow: visible;
}

button.navbar-toggler {
    color: white;
    top: 55px;
    padding: 0;
    margin-top: 20px;
}

button.navbar-toggler:focus {
    outline: none
}

button.navbar-toggler:focus i.fa.fa-bars,
button.navbar-toggler:hover i.fa.fa-bars{
    border-color: #88C308;
    color: #88C308;
}

i.fa.fa-bars {
    position: relative;
    left: 4px;
    border: 2px solid white;
    color: white;
    padding: 4px 5px;
    border-radius: 6px;
}

.navbar {
    width: 100%;
}

.navbar-collapse {
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 1199px) {
    .navbar-brand img {
        width: 260px;
    }
    ul.topNav {
        padding-right: 0;    
    }
    .navbar-brand img {
        padding-bottom: 0;
    }
    ul.navbar-nav {
        top: 40px;
    }
    .nav-container {
        min-height: 120px;
    }
    #mainNavbar {
        position: relative;
        top: 25px;
    }
}

@media (max-width:991px) {
    li.nav-item {
        padding-left: 15px;
    }
    .dropdown-menu {
        left: -16px;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        padding-top: 25px;
        padding-bottom: 5px;
    }
    #mainNavbar {
        top: 0;
    }
    .navbar-brand img {
        width: 200px;
        position: relative;
        top: 0;
    }
    .navbar-nav {
        float: none;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex; 
        display: flex;
        flex-direction: row;
        top: 0;
        justify-content: space-between;
    }
    .navbar-nav .open .dropdown-menu {
        position: absolute;
        border: 1px solid black;
        background-color: #fff;
        left: -24px;
    }
    .navbar-nav .dropdown-menu {
      position: absolute;
      left: -8px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        position: initial;
        min-height: 105px;
        background-color: rgba(50,50,50,.9);
    } 
    .nav-container .container {
        width: 100%;
    }
    .navbar-brand img {
        width: 170px;
    }
}

@media (max-width: 470px) {
    li.nav-item {
        padding: 5px 0;
    }
    .nav>li:last-child>a {
        padding-right: 10px;
    }
    ul.navbar-nav {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    .navbar-toggleable-lg .navbar-nav .dropdown-menu {
        position: static;
        max-width: 208px;
    }
    .dropdown-menu a.subnav-link {
        text-align: center;
    }
    .nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
        text-align: center;
    }
    .navbar-nav .dropdown-menu {
        position: static;
    }
}

/****** Carousel *******/

.carousel {
    width: 100%;
}

.carousel h2 {
    color: white;
    text-align: center;
    font-size: 110px;
}

.carousel h2 p {
    margin-bottom: 0;
}

.carousel-textbox {
    position: absolute;
    top: 40%;
    width: 100%;
}

.carousel-indicators li {
    width: 20px;
    height: 20px;
    background-color: #F8F4ED;
    opacity: 0.9;
    margin: 0 5px !important;
    border-radius: 0;
    border: none;
}

.carousel-indicators .active {
    background-color: #89C506;
    opacity: 1;
    width: 20px;
    height: 20px;
}
.carousel-control-prev {
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));
    background-image: linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
}

.carousel-control-next {
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
    background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-image: none;
}
  
@media (max-width:940px) {
    .carousel-textbox {
        position: initial;
    }
    .carousel-textbox h2 {
        color: #161615;
        font-size: 80px;
    }
    .carousel-indicators li {
        display: none;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    .carousel-control.right,
    .carousel-control.left {
        background-image: none;
    }
}

@media (max-width: 1480px) {
  .carousel-textbox {
    top: 32%
  }
  .carousel-textbox h2 {
    line-height: 1;
  }
}

@media (max-width: 767px) {      
    button.navbar-toggler.navbar-toggler-right {
        top: 36px;
    }
    .carousel-textbox h2 {
        font-size: 63px;
    }
}

/***** Heroimage ******/

h3.herolabel {
    position: absolute;
    bottom: -27px;
    color: white;
    font-size: 80px;
    text-transform: uppercase;
}

@media(max-width:767px) {
    h3.herolabel {
        position: static;
        color: black;
        font-size: 43px;
        text-align: center;
    }
}

/***** Video iframe ******/

.elastic-video {
    position: relative;
    padding-bottom: 53%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}
.elastic-video.more-height {
  padding-bottom: 56%;
}

.elastic-video.boxshadow {
  box-shadow: 5px 5px 5px #bbbbbb;
  padding-bottom: 53.8%;
  padding-top: 3px;
}

.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center;
    background-image: url(../Images/playbuttonbg.png);
}

.video-overlay:hover {
    background-image: url(../Images/playbuttonhover.png);
}

.video-overlay .title {
    position: absolute;
    bottom: 1px;
    font-size: 20px;
    left: 13px;
    text-transform: uppercase;
    display: none;
}

.video-overlay:hover .title {
    display: block;
}

.thumbnail {
    z-index: 1;
    position: relative;
    bottom: 2px;
}

/***** Startsete ******/

.main {
    padding-top: 80px;
    padding-bottom: 40px;
}

@media (max-width:940px) {
    .main {
        padding-top: 15px;
    }
}

.linkblock {
    padding-bottom: 15px;
}

.linkblock .header {
    height: 180px;
    background-color: #89C506;
    color: white;
    padding: 15px 10px;
}

.linkblock:hover > .header {
    background-color: #EFEFEF;
    color: #262626;
}

.linkblock:hover > .link {
    background-color: #B1B1B1;
    color: #444444;
}

a.blocklink {
    text-decoration: none;
}

.text-p-t .header {
    padding-top: 60px;
}

@media (max-width: 768px) {
    .text-p-t .header {
        padding-top: 15px;
    }
}

.linkblock h3 {
    font-size: 2em;
    line-height: 45px;
    text-transform: uppercase;
}

.linkblock .link {
    height: 52px;
    background-color: #598A04;
    color: white;
    padding-top: 15px;
    padding-left: 10px;
    text-transform: uppercase;
}

.linkblock i.fa.fa-angle-right {
    float: right;
    position: relative;
    padding-right: 10px;
    bottom: 16px;
    font-size: 50px;
}

/***** Digital Signage ******/

.rasani-header h2 {
    text-transform: uppercase;
    font-size: 70px;
    line-height: 0.8;
}

.rasani-header .subheader {
    text-transform: uppercase;
    font-size: 60px;
    font-weight: bold;
    color: #89C506;
}

.rasani-header.ds {
    padding-bottom: 30px;
}

.kontakt {
    padding-top: 67px;
}

.kontakt h2 {
    text-transform: uppercase;
    font-size: 55px;
    padding-bottom: 40px;
    font-weight: bold;
}

.kontakt h2:after {
    content: "";
    border-bottom: 4px solid #8CC710;
    position: absolute;
    height: 4px;
    top: 85px;
    left: 0;
    width: 180px;
}

.kontakt .frame {
    max-width: 260px;
    margin: 0 auto; 
}

/****** Form *******/

form label {
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 6px;
}

form button.btn-primary {
    text-transform: uppercase;
    color: #222222;
    background-color: #89C506;
    border-color: #77a909;
}

form button.btn-primary:hover, 
form button.btn-primary:active {
    color: #222222;
    background-color: #7ab102;
    border-color: #77a909;
}

form textarea {
    min-height: 220px;
}


/***** Über uns ******/

.counterpart img {
    max-width: 200px;
}


/***** Fixes ******/

.ce-textpic {
    width: 100%;
}

.frame-type-textpic {
    width: 100%;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: block;
}

@media (max-width: 767px) {
    .sidebar .navbar {
    padding: 0; 
    }
    .twocol {
        padding-top: 25px;
    }
}

/******** Cookie Bar ********/
.cookieBar p {
  padding: 0;
  margin: 7px 0 0 15px;
  color: #ffffff;
  font-family: sans-serif;
}
.cookieBar a {
  color: #89c506;
  font-family: sans-serif;
  text-decoration: underline;
}
.cookieBar button {
  background-color: rgba(89, 138, 4, 0.9);
  border-color: #497300;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  float: right;
  font-weight: bold;
  line-height: 1;
  margin-top: 2px;
  padding: 5px 10px 6px;
  position: relative;
  bottom: 6px;
  text-decoration: none;
  text-shadow: 0 -1px 1px #595959;
  margin-right: 15px;
}
.cookieBar {
  background: rgba(89, 138, 4, 0.9);
  background: -moz-linear-gradient(top, rgba(89, 138, 4, 0.9) 0, rgba(25, 39, 1, 0.9) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(89, 138, 4, 0.9)), color-stop(100%, rgba(25, 39, 1, 0.9)));
  background: -webkit-linear-gradient(top, rgba(89, 138, 4, 0.9) 0, rgba(25, 39, 1, 0.9) 100%);
  background: -o-linear-gradient(top, rgba(89, 138, 4, 0.9) 0, rgba(25, 39, 1, 0.9) 100%);
  background: -ms-linear-gradient(top, rgba(89, 138, 4, 0.9) 0, rgba(25, 39, 1, 0.9) 100%);
  background: linear-gradient(to bottom, rgba(89, 138, 4, 0.9) 0, rgba(25, 39, 1, 0.9) 100%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  bottom: 0;
  line-height: 1.5;
  padding: 3px;
  position: fixed;
  min-height: 40px;
  width: 100%;
  z-index: 9999;
}
@media (max-width: 1227px) {
  .cookieBar button {
    margin-top: 12px;
  }
}
@media (max-width: 488px) {
  .hands-section > .d-flex {
    flex-direction: column;
  }
}
/* TYPO3 13 fix */
@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav {
        flex-direction: row !important;
    }
    .navbar-expand-md .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

/* TYPO3 13 navbar fix */
.nav-container .navbar {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}
.nav-container .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: flex-end;
}
.nav-container .navbar-nav {
    flex-direction: row !important;
}
.nav-container .navbar-toggler {
    display: none;
}

/* TYPO3 13 navbar fix */
@media (min-width: 992px) {
    #mainNavbar {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar {
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
    }
}

/* === HEADER FIXES === */
li.nav-item {
    padding-left: 1.5em !important;
}
nav.navbar > .container,
nav.navbar > .container-fluid {
    padding-left: 0 !important;
}
.navbar-brand {
    margin-right: 0 !important;
}

/* Logo container bal padding eltávolítása */
.nav-container .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Language + TopNav menu */
ul.language-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}
ul.language-menu li.lang-item {
    padding: 0;
}
div.langmenu {
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 4;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 15px;
}
div.langmenu .topNav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
}
div.langmenu .topNav a {
    color: white;
    font-size: 15px;
    text-decoration: none;
    line-height: 1;
}
div.langmenu .topNav a:hover {
    color: #88C308;
    text-decoration: none;
}
div.langmenu ul.language-menu img {
    width: 22px;
    height: 15px;
    max-width: 22px;
    max-height: 15px;
}

div.langmenu .topNav {
    padding-top: 4px !important;
    margin-bottom: 0 !important;
}
div.langmenu .topNav a {
    font-size: 13px !important;
}
div.langmenu ul.language-menu {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* === MOBILE NAV === */
@media (max-width: 767px) {
    .nav-container .navbar-toggler {
        display: block !important;
        background-color: transparent !important;
        border: none !important;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10;
    }
    .nav-container .navbar-collapse {
        display: none !important;
    }
    .nav-container .navbar-collapse.show {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: transparent !important;
        z-index: 9;
        padding: 15px 0;
    }
    .nav-container .navbar-collapse.show .navbar-nav {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .nav-container .navbar-collapse.show li.nav-item {
        padding: 6px 0 !important;
    }
}

@media (max-width: 767px) {
    .nav-container .navbar {
        position: relative !important;
        flex-wrap: wrap !important;
    }
}

/* Mobil menü finomítás */
@media (max-width: 767px) {
    .nav-container .navbar-collapse {
        transition: height 0.3s ease, opacity 0.3s ease !important;
        opacity: 0;
    }
    .nav-container .navbar-collapse.show {
        opacity: 1 !important;
    }
    .nav-container .navbar-collapse.show li.nav-item a {
        font-size: 14px !important;
    }
    .nav-container .navbar-collapse.show li.nav-item {
        padding: 5px 0 !important;
    }
}

/* Lenyíló animáció */
@media (max-width: 767px) {
    .nav-container .navbar-collapse {
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        transition: max-height 0.35s ease, opacity 0.35s ease !important;
    }
    .nav-container .navbar-collapse.show {
        max-height: 300px !important;
        opacity: 1 !important;
    }
}

/* === AKTÍV MENÜPONT MOBIL === */
@media (max-width: 767px) {
    .nav-container .navbar-collapse.show li.nav-item.active a,
    .nav-container .navbar-collapse.show li.nav-item.current a {
        color: #88C308 !important;
    }
}

/* === LOGO ÉS HAMBURGER PADDING === */
@media (max-width: 767px) {
    .navbar-brand {
        padding-left: 15px !important;
    }
    .nav-container .navbar-toggler {
        right: 25px !important;
    }
}

/* === AKTÍV MENÜPONT DESKTOP === */
#mainNavbar li.nav-item.active a,
#mainNavbar li.nav-item.current a {
    color: #88C308 !important;
}

.topNav a.active,
.topNav a.topNav-link.active {
    color: #8ab800;
}
