/* below 1000 */
@media only screen
and (max-width: 1024px) {
  *{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }  
  body, html {
    margin: 0;
    padding: 0;
  }
  header {
    height: 70px;
  }
  a.facebook {
    right: auto;
    top: 23px;
    left: 20px;
    background-image: url(../images/facebook_blk.png);
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;    
  }
  a.youtube {
    right: auto;
    top: 23px;
    left: 50px;
    background-image: url(../images/youtube_blk.png);
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;    
  }  
  a.email {
    right: auto;
    top: 23px;
    left: 80px;
    background-image: url(../images/email_blk.png);
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;    
  }
  a.english-button {
    position: fixed;
    left: 20px;
    right: auto;
    top: auto;
    bottom: 20px;
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;    
  }
  #logo {
    width: 100%;
    height: 70px;
    z-index: 100;
    position: relative;
    background: #ffffff;
    margin: 0;
    padding-top: 10px;
    box-sizing: border-box;
  }
  #logo a {
    display: block;
    width: 154px;
    height: 50px;
    margin: 0 auto;
  }
  #logo a img {
    max-width: 100%;
  }
  #menu {
    position: fixed;
    width: 250px;
    height: 100%;
    right: -250px;
    top: 0;
    left: auto;
    padding-top: 100px;
    z-index: 50;
  }
  #menu li.bull {
    display: none;
  }
  #menu li {
    width: 100%;
    margin: 0;
  }
  #menu li a {
    display: block;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    padding: 0 20px;
    line-height: 50px;
  }  
  .inner {
    width: 100%;
    padding: 0 40px;
  }
  .section {
    padding-top: 20px;
  }
  .section h1 span {
    color: #000000;
  }      
  .section:first-child {
    padding-top: 90px;
  }
  .layer .content {
    width: 100%;
  }
  .stand,
  .eloadas,
  .webinar {
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;
    width: 100%;
    height: auto;
    line-height: normal;
    text-decoration: none !important;
    width: 100%;
    max-width: 100%;
    background: #ffe900;
    padding: 15px;
    box-sizing: border-box;     
  }
  .eloadas,
  .webinar {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;    
  }
  .eloadas .content,
  .webinar .content {
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;
    width: 100%;
    height: auto;
    line-height: normal;
    text-decoration: none !important;
    width: 100%;
    max-width: 100%;
    background: none;
    position: relative;
    top: auto;
    left: auto;   
  }
  .eloadas a.gotovideo,
  .webinar a.gotovideo {
    display: none;  
  }
  .eloadas a.gotopdf,
  .webinar a.gotopdf {
    background: none;
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    width: 100%;
    height: 100%;  
  }  
  .fenykepek .inner,
  .videok .inner {
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-opacity: 1 !important;    
  }
  .stand:hover,
  .eloadas:hover,
  .webinar:hover{
    background: #ffe900;    
  }
  .stand span {
    display: none;
  }
  .eloadas h2,
  .eloadas .content h2,
  .webinar h2,
  .webinar .content h2,
  .stand h2 {
    font-size: 13px;
    position: relative;
    text-align: center;
    display: block;
    text-decoration: none !important;
    left: 0;
    line-height: normal;
    width: 100%;
    max-width: 100%;   
  }
  .stand div {
    display: none !important;
  }
  .fenykepek {
    height: 400px !important;
  }
  .fenykepek img {
    max-height: 400px !important;
    max-width: 100% !important;
  }
  .udvozlunk,
  .english {
    background: url(../images/background_responsive_2019.jpg) top center no-repeat;
    background-size: 100% auto;  
  }
  .eloadasok,
  .kiallitas,
  .fenykepek,
  .onlinex,
  .videok,
  .nyeremenyjatek {
    background: none;
  }
  .eloadas p,
  .webinar p {
    display: none;
  }
  .section h1 {
    font-family: 'LatoLatinWeb', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    font-weight: bold;
  }
  .section p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #000000;
    line-height: 21px;
  }
  .responsive {
    display: block;
  }  
  h2.responsive {
    font-family: 'LatoLatinWeb', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    color: #000000;
    font-weight: bold;    
  }
  .layer .content {
    width: 100%;
    height: 100%;
  }
  .downloads {
    margin-bottom: 20px;
  }
  .videok .inner {
    height: 100%;  
  }
  .videok .slide {
    position: relative;
  }
  .videok .slide iframe {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 300px;
  }
  #responsivemenubutton {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    background: #000000 url(../images/rmenu.png) center center no-repeat;
    background-size: 20px 20px;
    top: 15px;
    right: 20px;
    z-index: 150;
  }
  #menu li.active a {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;    
  }
  .fp-controlArrow.fp-next {
    border-color: transparent transparent transparent #ffe900;
  } 
  .fp-controlArrow.fp-prev {
    border-color: transparent #ffe900 transparent transparent;
  } 
  .fp-controlArrow {
    margin-top: -3px;
  }  
}

/* below 480 */
@media only screen
and (max-width: 479px) {
  #logo {
    padding-top: 20px;
  }  
  #logo a {
    width: 100px;
    height: 32px;
  }  
}