:root {
  --main: rgb(0, 0, 0);
  --sub: rgb(255, 255, 255);
  --revai: rgb(8, 173, 139);
  --blue: rgb(45, 170, 226);
  --brown: rgb(144, 127, 112);
  --grey: rgb(56, 66, 76);
  --yellow: rgb(248, 208, 87);
  --salmon: rgb(243, 152, 109);
}

button:focus {
  box-shadow: none !important;
}

main.row {
  margin: 0 !important;
}

@font-face {
  font-family: palanquin;
  src: url('../resources/fonts/Palanquin-Regular.ttf');
}

@font-face {
  font-family: palanquinMed;
  src: url('../resources/fonts/PalanquinDark-Medium.ttf');
}

@font-face {
  font-family: palanquinLight;
  src: url('../resources/fonts/Palanquin-Light.ttf');
}

@font-face {
  font-family: palanquinSemi;
  src: url('../resources/fonts/Palanquin-SemiBold.ttf');
}

.bgRevai {
  background: var(--revai);
}

.shRevai {
  box-shadow: inset 0 200px 0 200px var(--revai);
  transition: .3s;
}

.shRevai:hover {
  box-shadow: inset 0 0 0 0 var(--revai);
}

.bgBlue {
  background: var(--blue);
}

.bgBrown {
  background: var(--brown);
}

.bgGrey {
  background: var(--grey);
}

.bgYellow {
  background: var(--yellow);
}

.bgSalmon {
  background: var(--salmon);
}

.anchor {
  display: block;
  position: relative;
  top: -78px;
  visibility: hidden;
}

.fixKasztner {
  margin-top: 15px;
  text-shadow: 2px 2px 3px var(--main);
  color: white;
  text-align: right;
}

.fixKasztner a {
  color: var(--yellow);
  transition: .25s;
}

.fixKasztner a:hover {
  color: var(--revai);
  text-decoration: none;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'palanquin';
  background-color: var(--sub);
  color: var(--sub);
}

header {
  display: grid;
  width: 100%;
  position: absolute;
  top: 0;
  font-family: 'palanquinMed';
  background: var(--main);
  height: 140px;
  padding-right: 160px;
  grid-template-columns: auto 50px;
  grid-gap: 50px;
}

#wrapperBookBHeader {
  display: grid;
  width: 100%;
  position: absolute;
  font-family: 'palanquinMed';
  background: var(--main);
  height: 140px;
  padding-right: 160px;
  grid-template-columns: auto 50px;
  grid-gap: 50px;
}

header div {
  z-index: 10002;
  position: relative;
}

header div:nth-child(1), header div:nth-child(4) {
  display: none;
}


header img {
  height: 80px;
}

h1, h2, h3, h4, h5 {
  margin: 0;
}

header h1 {
  font-size: 52px;
  margin-right: -120px;
}

header h2 {
  font-size: 36px;
}

header h3 {
  font-size: 30px;
}

#pseudoHeader {
  display: none;
}

#navMobile {
  display: none;
}

nav {
  position: relative;
  float: right;
  height: 100%;
  width: 80px;
  background: var(--sub);
  flex-direction: column;
  align-items: stretch;
  display: flex;
  z-index: 9001;
}

nav a {
  flex: auto;
  color: var(--sub) !important;
  font-family: 'palanquinMed';
  font-size: 26px;
  writing-mode: vertical-rl;
  text-align: center;
  border-bottom-right-radius: 30px;
  margin-top: -30px;
  padding-top: 30px;
  transition: .25s;
  text-decoration: none;
}

nav a:hover, nav a.hoverLink {
  text-decoration: none;
  padding-top: 55px;
  padding-bottom: 25px;
}

nav a:nth-child(1) {
  z-index: 9999;
}

nav a:nth-child(2) {
  z-index: 9998;
}

nav a:nth-child(3) {
  z-index: 9997;
}

nav a:nth-child(4) {
  z-index: 9996;
}

nav a:nth-child(5) {
  z-index: 9995;
}

main {
  top: 0;
  height: 1100px;
  background: rgba(0, 0, 0, 0.8);
}

#titleMain, #titleBookMain {
  position: relative;
  top: -135px;
  z-index: 9999;
  display: inline-block;
}

.wrapperFilmesKonyvtar #titleBookMain {
  top: -105px;
}

#titleBookMain {
  top: -135px;
}

#titleMain h2, #titleBookMain h2 {
  font-family: 'palanquinMed';
  color: var(--main);
  font-weight: 700;
}

#titleMain h2 {
  font-size: 72px;
  padding: 20px 50px;
}

#titleBookMain h2 {
  font-size: 32px;
  padding: 20px 50px;
}

#fixTitleBook {
  display: inline;
  font-family: 'palanquinMed';
  color: var(--main);
  font-weight: 700;
  font-size: 38px;
  padding: 50px 50px 20px 50px;
 }

#titleRevai {
  height: 200px;
  padding: 50px 70px;
}

#wrapperBase, #wrapperBookBBase {
  padding-top: 140px;
  height: 100%;
}

#wrapperMain {
  padding:  52px 0 0 0;
  height: 100%;
  background-size: cover;
  position: relative;
}

#carouselKonyvzabalo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#carouselKonyvzabalo .carousel-item {
  height: 960px;
}

#carouselKonyvzabalo img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.wrapperPageMain {
  background: url('../resources/bgMain.jpg');
}

.wrapperPageMain > div {
  transition: .5s;
  height: 100%;
}

.hoverBackground {
    background: rgba(255,255,255,0.35);
}

.wrapperPageLabelexpo {
  background: url('../resources/bgLabelexpo.jpg');
  background-position: center;
}

.wrapperPageARMedica {
  background: url('../resources/bgARMedica.jpg') no-repeat;
  background-position: center;
  background-size: contain !important;
}

.wrapperPageSpielwarenmesse {
  background: url('../resources/bgSpielwarenmesse.jpg');
  background-position: top;
}

.wrapperPageSajtotajekoztato {
  background: url('../resources/bgSajtotajekoztato.jpg');
  background-position: top;
}

.wrapperPageVizfal {
  background: url('../resources/bgVizfal.jpg');
  background-position: top;
}

.wrapperPageMarketing {
  background: url('../resources/bgMarketing.jpg') no-repeat;
  background-position: center;
  background-size: contain !important;
}

.wrapperPageProduct {
  background: url('../resources/bgProduct.jpg');
  background-position: center;
}

.wrapperPageInstallation {
  background: url('../resources/bgInstallation.jpg') no-repeat;
  background-position: center;
  background-size: contain !important;
}

.wrapperPageMovie {
  background: url('../resources/bgMovie.jpg');
}

#wrapperMain.wrapperPageBook {
  background: url('../resources/bgBook.jpg');
  background-position: center;
  background-attachment: fixed;
}

.linkFilm {
  position: relative;
}

.linkFilm img {
  width: 100%;
}

.bubbleBookDetail {
  bottom: -50px;
  right: -100px;
  width: 250px !important;
  height: 250px !important;
  padding: 20px !important;
}

.bubbleBookDetail p {
  margin: 0;
}

.bookDetailA {
  font-size: 14px;
}

.bookDetailB {
  font-size: 22px;
}

.bookDetailC {
  font-size: 20px;
  color: black;
}

.bookDetailC:hover {
  font-size: 20px;
  color: white;
  text-decoration: none;
}

.bookDetailD {
  background-color: var(--revai);
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 100px);
  font-size: 24px;
  width: 200px;
  border-radius: 0;
}

.wrapperSzepirodalom, .wrapperFilmBook, .wrapperRendeles, .wrapperFilmesKonyvtar {
  background: url('../resources/images/bg.books.jpg');
  background-position: center;
  background-attachment: fixed;
}

.wrapperSzepirodalom #titleMain, .wrapperFilmBook #titleMain, .wrapperRendeles #titleMain, .wrapperFilmesKonyvtar #titleMain, #titleBookMain {
  text-align: right;
}

.bookerPage {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 100px 92px 52px 0;
  overflow-y: scroll;
  overflow-x: hidden;
}

.wrapperRendeles h5 {
  font-size: 26px;
  margin: 32px 0 16px;
}

.wrapperRendeles ol {
  padding-left: 12px;
}

.wrapperRendeles h5, .wrapperRendeles strong {
  font-family: 'palanquinSemi';
}

.wrapperRendeles a {
  color: var(--revai);
}

.wrapperRendeles a:hover {
  text-decoration: none;
}

header div.text-right a {
  color: white;
}

header div.text-right a:hover {
  color: white;
  text-decoration: none;
}

.bookerPage img {
 width: 70%;
 float: right;
}

.btn-order {
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 42px;
  font-family: 'palanquinMed';
  color: black;
  border-radius: 0;
  padding: 15px 30px;
}

.price {
  font-size: 32px;
}

.divider {
  margin: 32px 0;
  border-bottom: 1px solid white;
}

.bubbleWrapper {
  display: grid;
  color: var(--sub);
  position: absolute;
  padding: 20px;
  height: 400px;
  width: 400px;
  border-radius: 200px;
  font-family: 'palanquinSemi';
  font-size: 30px;
  overflow: hidden;
}

.bubbleWrapper:hover {
  color: var(--sub);
  text-decoration: none;
}

.bubbleWrapper img {
  position: absolute;
  top: 0;
  height: 100%;
  opacity: 0;
  transition: .5s;
}

.bubbleWrapper:hover img, .bubbleWrapper.hoverBubble img {
  opacity: 1;
}

.bubbleWrapperMini {
  display: grid;
  color: var(--sub);
  position: absolute;
  padding: 10px;
  height: 250px;
  width: 250px;
  border-radius: 1000px;
  font-family: 'palanquinMed';
  font-size: 36px;
  font-weight: 700;
  transition: .4s;
  text-align: center;
}

.bubbleWrapperMiniHidden {
  height: 80px;
  width: 80px;
  left: 34% !important;
  top: 15% !important;
  font-size: 1px;
  z-index: 8000;
}

.arrowWrapper {
  position: absolute;
  z-index: 9000;
  cursor: pointer;
}

.arrowWrapper img {
  height: 80px;
  width: auto;
  transition-duration: .25s;
}

#wrapperMobileBg {
  display: none;
}

#bubbleMainA {
  top: 20%;
  left: 4%;
}

#bubbleMainA img {
  left: -25%;
}

#bubbleMainB {
  top: 2%;
  left: 44%;
}

#bubbleMainC {
  top: 50%;
  left: 24%;
}

#bubbleMainC img {
  right: 0;
}

#bubbleMainD {
  top: 53%;
  left: 50%;
}

#arrowLabelexpoA {
  left: 34%;
  top: 15%;
  transform: rotate(21deg);
}

#arrowLabelexpoAdetails {
  left: 19%;
  top: 10%;
}

#arrowLabelexpoB {
  left: 49%;
  top: 12%;
  transform: rotate(-130deg);
}

#arrowLabelexpoBdetails {
  left: 54%;
  top: 8%;
}

#arrowLabelexpoC {
  left: 51%;
  top: 33%;
  transform: rotate(21deg);
}

#arrowLabelexpoCdetails {
  left: 36%;
  top: 30%;
}

#arrowLabelexpoD {
  left: 43%;
  top: 57%;
}

#arrowLabelexpoDdetails {
  left: 36%;
  top: 67%;
}

#arrowLabelexpoE {
  left: 52%;
  top: 62%;
  transform: rotate(80deg);
}

#arrowLabelexpoEdetails {
  left: 55%;
  top: 65%;
}

#arrowLabelexpoF {
  left: 68%;
  top: 60%;
  transform: rotate(21deg);
}

#arrowLabelexpoFdetails {
  left: 65%;
  top: 34%;
}

#arrowLabelexpoG {
  left: 72%;
  top: 82%;
  transform: rotate(-20deg);
}

#arrowLabelexpoGdetails {
  left: 77%;
  top: 70%;
}

#arrowARMedicaA {
  left: 42%;
  top: 9%;
  transform: rotate(21deg);
}

#arrowARMedicaAdetails {
  left: 35%;
  top: 19%;
}

#arrowARMedicaB {
  left: 63%;
  top: 68%;
  transform: rotate(-30deg);
}

#arrowARMedicaBdetails {
  left: 65%;
  top: 45%;
}

#arrowARMedicaC {
  left: 49%;
  top: 77%;
  transform: rotate(-150deg);
}

#arrowARMedicaCdetails {
  left: 34%;
  top: 65%;
}

#arrowSpielwarenmesseA {
  left: 76%;
  top: 9%;
}

#arrowSpielwarenmesseAdetails {
  left: 81%;
  top: 4%;
}

#arrowSpielwarenmesseB {
  left: 70%;
  top: 32%;
  transform: rotate(50deg);
}

#arrowSpielwarenmesseBdetails {
  left: 73%;
  top: 34%;
}

#arrowSpielwarenmesseC {
  left: 58%;
  top: 42%;
  transform: rotate(-120deg);
}

#arrowSpielwarenmesseCdetails {
  left: 48%;
  top: 48%;
}

#arrowSpielwarenmesseD {
  left: 81%;
  top: 85%;
  transform: rotate(50deg);
}

#arrowSpielwarenmesseDdetails {
  left: 80%;
  top: 58%;
}

#arrowSajtotajekoztatoA {
  left: 46%;
  top: 20%;
}

#arrowSajtotajekoztatoAdetails {
  left: 51%;
  top: 10%;
  font-size: 26px;
}

#arrowSajtotajekoztatoB {
  left: 51%;
  top: 80%;
  transform: rotate(120deg);
}

#arrowSajtotajekoztatoBdetails {
  left: 37%;
  top: 65%;
}

#arrowSajtotajekoztatoC {
  left: 60%;
  top: 87%;
  transform: rotate(20deg);
}

#arrowSajtotajekoztatoCdetails {
  left: 63%;
  top: 67%;
}

#arrowVizfalA {
  left: 60%;
  top: 15%;
  transform: rotate(-150deg);
}

#arrowVizfalAdetails {
  left: 35%;
  top: 10%;
  height: 450px;
  width: 450px;
  font-size: 34px;
}

#arrowMarketingA {
  left: 28%;
  top: 30%;
  transform: rotate(60deg);
}

#arrowMarketingAdetails {
  left: 30%;
  top: 35%;
}

#arrowMarketingB {
  left: 60%;
  top: 15%;
}

#arrowMarketingBdetails {
  left: 65%;
  top: 5%;
}

#arrowMarketingC {
  left: 20%;
  top: 77%;
  transform: rotate(-150deg);
}

#arrowMarketingCdetails {
  left: 10%;
  top: 53%;
}

#arrowProductA {
  left: 20%;
  top: 75%;
  transform: rotate(150deg);
}

#arrowProductAdetails {
  left: 25%;
  top: 43%;
  width: 400px;
  height: 400px;
}

#arrowInstallationA {
  left: 45%;
  top: 50%;
  transform: rotate(180deg);
}

#arrowInstallationAdetails {
  left: 25%;
  top: 53%;
  width: 400px;
  height: 400px;
  font-size: 30px;
}

#arrowKZszepirodalom {
  left: calc(35% - 150px);
  top: calc(40% - 150px);
  width: 300px;
  height: 300px;
  font-size: 30px;
}

#arrowKZfilmek {
  left: calc(65% - 150px);
  top: calc(30% - 150px);
  width: 300px;
  height: 300px;
  font-size: 30px;
}

#arrowKZpenz {
  left: calc(30% - 150px);
  top: calc(50% - 150px);
  width: 300px;
  height: 300px;
  font-size: 30px;
}

#wrapperMobile {
  display: none;
}

#wrapperIframe {
  position: absolute;
  display: grid;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  font-size: 32px;
  text-shadow: 2px 2px 3px var(--main);
}

#wrapperIframe iframe {
  width: 853px;
  height: 505px;
}

#wrapperIframe span {
  width: 853px;
  height: 505px;
}

#wrapperIframe a {
  color: var(--yellow);
  font-family: 'palanquinSemi';
  transition: .25s;
}

#wrapperIframe a:hover {
  color: var(--revai);
  text-decoration: none;
}

#articleBook, #articleBookB {
  height: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(0,0,0,0.65);
}

#articleBook .col-12 .row div:nth-child(3), #articleBookB .col-12 .row div:nth-child(3) {
  font-family: 'palanquinSemi';
  color: var(--sub);
  font-size: 22px;
}

#articleBookB .col-12 .row div:nth-child(3) {
  font-size: 20px;
}

#imgArticleBook, #imgArticleBookB {
  display: none;
}

footer {
  padding: 40px 50px;
  background: var(--main);
}

footer h5 {
  font-family: 'palanquinMed';
  font-size: 18px;
}

footer a {
  color: var(--sub);
}

footer a:hover {
  text-decoration: none;
  color: var(--sub);
}

#footerContact {
  font-family: 'palanquinSemi';
  font-size: 14px;
}

#footerContact img {
  margin-right: 15px;
}

#footerMenu img {
  background: rgb(127,127,127);
  border-radius: 50px;
  padding: 2px;
  height: 20px;
  transform: rotate(-110deg);
}

#footerMenu div {
  margin-top: 5px;
}

#footerMenu a {
  font-family: 'palanquinSemi';
  font-size: 12px;
}

#footerCR h3 {
  font-family: 'palanquinSemi';
  font-size: 30px;
}

#footerCR img {
  height: 50px;
  padding: 0 15px 10px 15px;
}

#order-form {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 100vh;
  /*top: 0;*/
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 90000;
  transition: .3s;
}

#order-form strong {
  font-family: 'palanquinSemi';
}

#order-form.active {
  top: 0;
}

#order-form #btn-close {
  position: absolute;
  top: 0;
  right: 52px;
  color: white;
  background-color: transparent;
  border: 0;
  font-size: 52px;
}

#order-form form {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 90001;
  padding: 36px;
  font-size: 20px;
  background-color: rgb(44, 46, 53);
  height: calc(100vh - 52px);
  overflow-y: scroll;
}

#order-form h3 {
  font-family: palanquinMed;
  font-size: 42px;
  border-bottom: 1px solid white;
  padding-bottom: 16px;
  margin-bottom: 16px;
  display: inline-block;
}

#order-form h4 {
  font-family: palanquinLight;
  font-size: 20px;
  margin: auto;
  display: inline-block;
  float: none;
}

#order-form table td:last-child {
  padding: 6px 0px 6px 12px;
}

#order-form input[type=text], #order-form input[type=number] {
  background-color: rgb(63, 65, 71);
  border: 0;
  padding: 0 4px;
  width: 620px;
  color: white;
  border-radius: 2px;
  display: inline-block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

#order-form input.small {
  width: 52px;
}

#order-form #order-options td {
  vertical-align: top;
}

#order-form #order-options td:first-child {
  width: 159px;
  padding-top: 6px;
}

#order-form #order-options td:last-child {
  font-size: 16px;
}

#order-form #order-options a {
  color: var(--revai);
}

#order-form #order-options a:hover {
  text-decoration: none;
}

#order-form .checkboxfix {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 20px;
}

.checkboxfix input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkboxfix .checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 26px;
  width: 26px;
  border-radius: 2px;
  background-color: rgb(63, 65, 71);
}

/* When the checkbox is checked, add a blue background */

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkboxfix input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkboxfix .checkmark:after {
  left: 8px;
  top: 2px;
  width: 10px;
  height: 18px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(35deg);
  -ms-transform: rotate(35deg);
  transform: rotate(35deg);
}

#order-form #btn-submit {
  font-family: palanquinMed;
  color: black;
  border: 0;
  font-size: 22px;
}

#order-form #btn-foxpost-reselect {
  width: auto;
  border: 0;
  color: black;
}

#order-form #faxpast {
  font-size: 16px;
}

#order-form #btn-submit:focus {
  background-color: var(--revai);
}

@media(max-width:1832px) {
  main {
    height: 1050px;
  }
}

@media(max-width:1745px) {
  main {
    height: 1000px;
  }

  #wrapperMainB {
    height: 1200px;
  }

  header {
    height: 110px;
    padding-right: 110px;
    grid-gap: 40px;
  }

  header, #wrapperBookBHeader {
    height: 110px;
  }

  header h1 {
    font-size: 42px;
    margin-right: -70px;
  }

  header h2 {
    font-size: 30px;
  }

  header h3 {
    font-size: 26px;
  }

  header img {
    height: 60px;
  }

  nav {
    width: 65px;
  }

  nav a {
    font-size: 22px;
  }

  #titleMain {
    top: -95px;
  }
  #titleBookMain {
    top: -115px;
  }

  #titleMain h2 {
    font-size: 52px;
  }

  #titleBookMain h2 {
    font-size: 26px;
  }

  #titleRevai {
    height: 150px;
    padding: 35px 55px;
  }

  #wrapperBase, #wrapperBookBBase {
    padding-top: 110px;
  }

  .bubbleWrapper {
    height: 300px;
    width: 300px;
    font-size: 24px;
  }

  .bubbleWrapperMini {
    height: 200px;
    width: 200px;
    font-size: 28px;
  }

  #arrowVizfalAdetails {
    left: 35%;
    top: 10%;
    height: 350px;
    width: 350px;
    font-size: 26px;
  }

  .arrowWrapper img {
    height: 70px;
  }

  footer {
    padding: 30px 40px;
  }
}

@media(max-width:1658px) {
  main {
    height: 950px;
  }
}

@media(max-width:1570px) {
  main {
    height: 950px;
  }

  #wrapperMainB {
    height: 1300px;
  }
}

@media(max-width:1500px) {
  #wrapperMainB {
    height: 800px;
  }

  #articleBook {
    padding-right: 70px;
  }

  #imgArticleBook, #imgArticleBookB {
    display: block;
    float: right;
    padding: 0 20px 0 20px;
    max-height: 200px;
  }

  #articleBook .col-12 .row div:nth-child(1), #articleBookB .col-12 .row div:nth-child(1), #articleBook .col-12 .row div:nth-child(2), #articleBookB .col-12 .row div:nth-child(2) {
    display: none;
  }

  #articleBook .col-12 .row div:nth-child(3), #articleBookB .col-12 .row div:nth-child(3) {
    width: 100%;
    font-size: 18px;
    flex: 0 0 100%;
    max-width: 100%;
  }

  header {
    grid-gap: 40px;
  }

  .bookerPage .col-xl-1 {
    display: none;
  }

  .bookerPage .col-xl-6 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .bookerPage img {
    width: 80%;
  }
}

@media(max-width:1483px) {
  main {
    height: 850px;
  }

  .btn-order {
    font-size: 36px;
    pad: 10px 20px;
  }
}

@media(max-width:1396px) {
  main {
    height: 800px;
  }

  header {
    height: 80px;
    padding-right: 70px;
    grid-gap: 20px;
  }

  header h1 {
    font-size: 32px;
  }

  header h2 {
    font-size: 24px;
  }

  header h3 {
    font-size: 20px;
  }

  header img {
    height: 40px;
  }

  nav {
    width: 50px;
  }

  nav a {
    font-size: 18px;
  }

  #titleMain {
    top: -90px;
  }

  #titleBookMain {
    top: -90px;
  }

  #titleMain h2 {
    font-size: 42px;
    padding: 15px 30px 15px 30px;
  }

  #titleBookMain h2 {
    font-size: 18px;
    padding: 10px 30px 10px 30px;
  }

  #titleRevai {
    height: 100px;
    padding: 25px 25px;
  }

  #wrapperBase, #wrapperBookBBase {
    padding-top: 80px;
  }

  .bubbleWrapper {
    height: 240px;
    width: 240px;
    font-size: 18px;
  }

  .bubbleWrapperMini {
    height: 160px;
    width: 160px;
    font-size: 20px;
  }

  #arrowProductAdetails {
    height: 300px;
    width: 300px;
    top: 38%;
  }

  #arrowVizfalAdetails {
    left: 35%;
    top: 10%;
    height: 300px;
    width: 300px;
    font-size: 22px;
  }

  .arrowWrapper img {
    height: 60px;
  }

  footer {
    padding: 20px 30px;
  }

  footer h5 {
    font-size: 14px;
  }

  #footerContact {
    font-size: 12px;
  }

  #footerCR {
    font-size: 12px;
  }

  #footerCR h3 {
    font-size: 22px;
  }

  #footerCR img {
    height: 35px;
    padding: 0 5px 7px 5px;
  }

  #arrowKZpenz, #arrowKZfilmek, #arrowKZszepirodalom {
    width: 250px;
    height: 250px;
    font-size: 26px;
  }
}

@media(max-width:1309px) {
  main {
    height: 750px;
  }

  #articleBookB .col-12 .row div:nth-child(3) {
    font-size: 16px;
  }


}

@media(max-width:1221px) {
  main {
    height: 700px;
  }

  #articleBookB .col-12 .row div:nth-child(3) {
    font-size: 14px;
  }
}

@media(max-width:1199px) {
  #titleMain, #titleBookMain {
    position: absolute;
  }

  .bookerPage {
    padding-right: 102px;
  }

  .bookerPage img {
    width: 100%;
  }

  .bookerPage .col-lg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .wrapperFilmesKonyvtar {
    padding-top: 72px;
  }

  .wrapperFilmesKonyvtar .row {
    height: 100%;
  }

  #titleMain, #titleBookMain {
    top: -40px;
  }
}

@media(max-width:1134px) {
  main {
    height: 650px;
  }

  #wrapperMainB {
    height: 1000px;
  }
}

@media(max-width:1047px) {
  main {
    height: 600px;
  }
}

@media(max-width:1000px) {
    #wrapperMainB {
      height: auto;
    }

  .disableScroll {
    overflow: hidden;
    height: 100%;
  }

  header {
    position: fixed;
    z-index: 10003;
    height: 80px;
    grid-template-columns: 60px 1fr 60px;
    grid-gap: 10px;
    padding: 0 5px 0 0;
  }

  header .text-right {
    text-align: center !important;
  }

  header div:nth-child(1), header div:nth-child(4) {
    display: block;
  }

  header div:nth-child(3) {
    display: none;
  }

  header h2 {
    font-size: 18px;
  }

  header h3 {
    font-size: 16px;
  }

  .hideHeader {
    display: none;
  }

  #pseudoHeader {
    position: relative;
    background: black;
    display: grid;
    grid-template-columns: 50px auto 50px;
    z-index: 10002;
    padding: 0 10px;
  }

  #pseudoHeader div:nth-child(2) img {
    background: var(--revai);
    height: 100px;
    padding: 15px;
  }

  #pseudoHeader div:nth-child(3) img {
    margin-top: 50px;
  }

  #pseudoHeader h1 {
    font-family: 'palanquinMed';
    text-align: center;
    font-weight: 700;
    padding: 30px 0;
    font-size: 22px;
  }

  #titleRevai {
    display: none;
  }

  main {
    height: auto;
  }

  #wrapperBase, #wrapperBookBBase {
    height: auto;
    padding-top: 80px;
  }

  #titleMain {
    background: none;
    top: 15px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  #titleBookMain {
    background: none;
    top: -14px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  #carouselKonyvzabalo {
    top: 15px;
  }  

  #titleMain h2, #titleBookMain h2{
    background: var(--revai);
    display: inline;
    font-size: 22px;
    padding: 15px 15px 8px 15px;
  }

  #titleBookMain h2.fix{
    font-size: 18px;
  }

  #titleMain, #titleBookMain {
    text-align: center !important;
  }

  #titleMain.col-xl-4, #titleBookMain.col-xl-4 {
    max-width: 100%;
  }

  #wrapperMobileBg {
    display: block;
    width: 100vw;
    height: auto;
  }

  nav {
    display: none;
  }

  #navMobile {
    display: block;
    position: fixed;
    right: -100vw;
    top: 0;
    background: var(--main);
    padding-top: 80px;
    height: 100vh;
    width: 100vw;
    z-index: 10001;
    transition: .5s;
  }

  #navMobile.navMobileFix {
    padding-top: 180px;
  }

  #navMobile.showMenu {
    right: 0;
  }

  #navMobileInner {
    background: var(--sub);
    height: calc(100vh - 80px);
    padding: 1px 10px 10px 10px;
  }

  #navMobile a {
    display: block;
    width: 100%;
    color: var(--sub);
    padding: 15px 10px;
    font-family: 'palanquinMed';
    font-size: 24px;
    font-weight: 700;
    border-top-right-radius: 40px;
    margin-top: 15px;
  }

  #navMobile a:hover {
    text-decoration: none;
  }

  #ddPR, #ddDecor, #ddMovie, #ddBook {
    display: none;
    padding-right: 20px;
  }

  #navMobileInner div a {
    padding-left: 20px;
    margin-top: -10px;
    font-size: 20px;
  }

  .toggleMenu {
    background: none;
    border: 0;
    padding: 0;
  }

  #wrapperMain.wrapperPageMain {
    margin-top: -104px;
  }

  .bubbleWrapper {
    margin-left: -120px;
    left: 50% !important;
    width: 200px;
    height: 200px;
    font-size: 16px;
  }

  #bubbleMainB {
    top: 3%;
  }

  #bubbleMainA {
    top: 27%;
  }

  #bubbleMainC {
    top: 51%;
  }

  #bubbleMainD {
    top: 75%;
  }

  .bubbleWrapperMini {
    height: 100px;
    width: 100px;
    font-size: 18px;
  }

  #arrowLabelexpoA {
    left: 20%;
    top: 15%;
    transform: rotate(-130deg);
  }

  #arrowLabelexpoAdetails {
    left: 35%;
  }

  #arrowLabelexpoB {
    display: none;
  }

  #arrowLabelexpoC {
    left: 10%;
    top: 25%;
  }

  #arrowLabelexpoCdetails {
    left: 20%;
  }

  #arrowLabelexpoD {
    display: none;
  }

  #arrowLabelexpoE {
    left: 15%;
    top: 50%;
    transform: rotate(60deg);
  }

  #arrowLabelexpoEdetails {
    left: 15%;
    top: 60%;
    width: 120px;
    height: 120px;
    font-size: 16px;
  }

  #arrowLabelexpoF {
    left: 40%;
    top: 45%;
  }

  #arrowLabelexpoFdetails {
    left: 52%;
  }

  #arrowLabelexpoG {
    left: 50%;
    top: 70%;
  }

  #arrowLabelexpoGdetails {
    left: 65%;
    width: 120px;
    height: 120px;
  }

  #arrowARMedicaA {
    left: 25%;
    top: 18%;
  }

  #arrowARMedicaAdetails {
    left: 40%;
    top: 20%;
    width: 120px;
    height: 120px;
    font-size: 16px;
  }

  #arrowARMedicaB {
    left: 80%;
    top: 70%;
    transform: rotate(-60deg);
  }

  #arrowARMedicaBdetails {
    left: 70%;
    top: 55%;
  }

  #arrowARMedicaC {
    left: 45%;
    top: 80%;
  }

  #arrowSpielwarenmesseA {
    left: 55%;
    top: 10%;
    transform: rotate(-120deg);
  }

  #arrowSpielwarenmesseAdetails {
    left: 30%;
    top: 10%;
    width: 120px;
    height: 120px;
    font-size: 16px;
  }

  #arrowSpielwarenmesseB {
    left: 65%;
  }

  #arrowSpielwarenmesseBdetails {
    left: 75%;
    top: 37%;
  }

  #arrowSpielwarenmesseC {
    left: 35%;
    top: 40%;
    transform: rotate(-150deg);
  }

  #arrowSpielwarenmesseCdetails {
    left: 15%;
    top: 42%;
  }

  #arrowSpielwarenmesseD {
    top: 70%;
  }

  #arrowSpielwarenmesseDdetails {
    left: 60%;
    top: 75%;
  }

  #arrowSajtotajekoztatoA {
    left: 25%;
    transform: rotate(30deg);
  }

  #arrowSajtotajekoztatoAdetails {
    left: 40%;
    top: 15%;
    font-size: 16px;
    width: 130px;
    height: 130px;
  }

  #arrowSajtotajekoztatoB {
    left: 40%;
    top: 70%;
    transform: rotate(-40deg);
  }

  #arrowSajtotajekoztatoBdetails {
    left: 35%;
    top: 50%;
  }

  #arrowSajtotajekoztatoC {
    left: 55%;
  }

  #arrowSajtotajekoztatoCdetails {
    top: 70%;
  }

  #arrowVizfalA {
    left: 35%;
    top: 20%;
  }

  #arrowVizfalAdetails {
    top: 30%;
    height: 270px;
    width: 270px;
    font-size: 20px;
  }

  #arrowMarketingA {
    left: 20%;
    transform: rotate(-40deg);
  }

  #arrowMarketingAdetails {
    top: 15%;
    width: 150px;
    height: 150px;
  }

  #arrowMarketingB {
    left: 75%;
    top: 30%;
    transform: rotate(30deg);
  }

  #arrowMarketingBdetails {
    top: 40%;
    width: 140px;
    height: 140px;
  }

  #arrowMarketingC {
    top: 85%;
    transform: rotate(140deg);
  }

  #arrowMarketingCdetails {
    left: 35%;
    top: 75%;
    width: 120px;
    height: 120px;
    font-size: 22px;
  }

  #arrowProductA {
    left: 15%;
    top: 70%;
    transform: rotate(120deg);
  }

  #arrowProductAdetails {
    left: 45%;
    top: 25%;
    width: 250px;
    height: 250px;
    font-size: 20px;
  }

  #arrowInstallationA {
    left: 35%;
    top: 35%;
    transform: rotate(-160deg);
  }

  #arrowInstallationAdetails {
    left: 25%;
    top: 50%;
    width: 250px;
    height: 250px;
    font-size: 20px;
  }

  #wrapperMobile {
    display: block;
  }

  .wrapperMobileInner {
    position: relative;
  }

  .titleMobile {
    background: var(--main);
    position: relative;
    width: 100%;
    text-align: center;
    height: 45px;
    z-index: 9999;
  }

  .titleMobile h2 {
    display: inline-block;
    margin: 20px auto 0 auto;
    font-size: 16px;
    padding: 15px 10px 10px 10px;
    font-family: 'palanquinMed';
    color: var(--main);
    font-weight: 700;
  }

  #wrapperMain.wrapperPageBook #titleMain {
    top: -15px;
    padding-top: 30px;
    background: black;
  }

  #articleBook, #articleBookB{
    position: static;
    margin-top:-25px;
    padding: 50px 0 30px 0;
    background: url('../resources/bgBookDarker.jpg');
    background-position: center;
    background-size: cover;
  }


  #articleBook .col-12 .row div:nth-child(3), #articleBookB .col-12 .row div:nth-child(3) {
    width: 100%;
    font-size: 14px;
    flex: 0 0 100%;
    max-width: 100%;
  }

  #wrapperMain.wrapperPageMovie {
    background: url('../resources/bgMovie.jpg');
    background-size: cover;
  }

  #wrapperIframe {
    position: relative;
    padding-bottom: 56.25%;
  }

  #wrapperIframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
  }

  .wrapperIframeDesc {
    position: absolute;
    bottom: 5px;
    left: 20px;
    text-align: left;
  }

  #wrapperPageMovie .wrapperMobile {
    background: url('../resources/bgMovie.jpg');
    background-size: cover;
  }

  .wrapperMobileInner {
    background: url('../resources/bgMovie.jpg');
    background-size: cover;
  }

  footer {
    padding: 10px 5px;
  }

  footer .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #footerContact {
    text-align: center;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  #footerContact img {
    /*margin-right: 15px;*/
  }

  #footerMenu {
    display: none !important;
  }

  #footerCR {
    text-align: center !important;
  }

  #footerCR h3 {
    margin-bottom: 10px;
  }

  #footerCR img {
    height: 40px;
    padding: 0 2px 10px 2px;
  }

  main {
    height: auto;
  }

  #carouselKonyvzabalo .carousel-item {
    height: 100%;
  }

  #carouselKonyvzabalo {
    height: calc(100% - 24px) !important;
  }
  
  #arrowKZpenz, #arrowKZfilmek, #arrowKZszepirodalom {
    width: 200px;
    height: 200px;
    font-size: 22px;
  }

  #arrowKZszepirodalom {
    top: calc(50% - 100px);
  }

  #arrowKZpenz {
    top: calc(30% - 100px);
  }

  #wrapperBase {
    padding-top: 88px;
    background-color: black;
    height: 100%;
  }

  #wrapperBase.fix {
    padding-top: 77px;
  }

  .btn-order {
    font-size: 22px;
    padding: 5px 10px;
  }

  .bookerPage {
    position: static;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .wrapperKonyvzabalo {
    height: 750px !important;
  }
}

@media(max-width:991px) {
  .bubbleBookDetail {
    display: none;
  }

  #titleBookMain {
    left: 8px;
    width: calc(100% - 16px);
    background-color: var(--revai);
    padding: 15px 15px 8px 15px;
  }

  #titleBookMain h2 {
    background-color: transparent;
    padding: 0;
  }

  #wrapperMain:not(.wrapperKonyvzabalo) {
    padding-top: 0;
  }

  #wrapperMain:not(.wrapperKonyvzabalo) #titleBookMain {
    position: relative;
  }
}

@media(max-width:767px) {
  .col-12 {
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .bookerPage img {
    max-width: 200px;
    margin-right: 12px;
  }

  .bookerPage p {
    font-size: 16px;
  }
  
  .price {
    font-size: 22px;
  }

  .bookDetailD  {
    width: auto;
    position: static;
    margin-top: 24px;
    font-size: 18px;
  }
}

@media(max-width:650px) {
  .bookerPage img {
    max-width: 150px;
  }

   #arrowKZszepirodalom, #arrowKZpenz, #arrowKZfilmek {
    width: 150px;
    height: 150px;
    font-size: 16px;
    top: calc(20% - 75px);
    left: calc(75% - 75px);
  }
  
  #arrowKZfilmek {
    top: calc(30% - 75px);
    left: calc(60% - 75px);
  }
  
  #arrowKZpenz {
    top: calc(40% - 75px);
    left: calc(25% - 75px);
  }
}

@media(max-width:575px) {
  .bookDetailD {
    margin-top: 16px;
  }

  .linkFilm:first-child {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: white 1px solid;
  }
}

@media(max-width:420px) {
  #pseudoHeader {
    grid-template-columns: 40px auto 40px;
  }

  #pseudoHeader div:nth-child(2) img {
    height: 90px;
  }

  #pseudoHeader div:nth-child(3) img {
    height: 40px;
  }

  #pseudoHeader h1 {
    font-size: 18px;
  }

  header h2 {
    font-size: 16px;
  }

  header h3 {
    font-size: 14px;
  }

  .bubbleWrapper {
    margin-left: -80px;
    width: 160px;
    height: 160px;
    font-size: 14px;
  }

  #bubbleMainB {
    top: 4%;
  }

  #bubbleMainA {
    top: 28%;
  }

  #bubbleMainC {
    top: 52%;
  }

  #bubbleMainD {
    top: 76%;
  }
}