@media (orientation: landscape) {
  body,
  html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #f9f9f9;
    overflow-y: hidden;
    overflow-x: hidden;
    opacity: 0;
  /*transition: opacity 0.7s ease-in;*/
  }
  h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
  }
  #progressContainer {
  position: fixed;
    width: 1%;
  /*max-width: 400px;*/
  margin: 20px auto;
  text-align: center;
  z-index: 1000;
}

#imageWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0px solid #ccc;
  border-radius: 0px;
}


#maskedImage {
  width: 100%;
  display: block;
  background-color: transparent;
  /*opacity: 0;*/
}

#maskOverlay {
  position: absolute;
  top: 0;
  right: 0; /* Ukotvení napravo místo vlevo */
  width: 100%;
  height: 100%;
  background-color:  transparent;
  opacity: .9;
  /*transition: width 0.01s ease-in-out;*/
}



  #status {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
    text-align: center;
  }
  :root {
    --tp-plugin-thumbnail-list-height: 100vh;
    --tp-plugin-thumbnail-list-width: 180px;
    --tp-plugin-thumbnail-list-thumb-size: 10svh;
    --mobileScaleToolsContainer: 2;
    --thumbnail-size: 5svh;
  }
  .logo-container img:hover {
    transform: scale(1.1); 
  }
  #tools-container {
    position: absolute; 
    top: 0; 
    right: 5px; 
    width: 180px;
    display: inline-flex; 
    flex-direction: column; 
    padding: 1px; 
    gap: 1px; 
    align-items: flex-end;
    transform-origin: top right;
  }
  .disable-mouse-events {
    user-select: none; 
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none;
  }
  .logo-container {
    position: fixed;
    bottom: 10px;      /* 10 px nad spodním okrajem */
    left: 50%;         /* zarovná vlevo doprostřed */
    transform: translateX(-50%); /* posune zpět o polovinu své šířky = přesně doprostřed */
    cursor: pointer;
    z-index: 1000;
   /* aspect-ratio: 4 / 1;*/
    width: 7%;
  }
  
  .logo-container img {
    width: 100%; 
    height: auto; 
    transition: transform 0.3s; 
  }
  .sceneSwitcher {
    font-size: 10px;
    font-family: Arial, sans-serif;
    width: 50%;
  }
  .sceneSwitcher .tp-lblv_l {
    padding-right: 4px !important;
    margin-top: -0.7vh !important;
  }
  .sceneSwitcher .tp-lblv {
    text-align: center;
    display: block !important;
  }
  .sceneSwitcher .tp-thumbv_slbl {
    text-align: center;
    width: 100%;
    margin-left: 0px;
    width: 60px !important;
    margin-top: 3px;
    height: 17px;
  }
  .sceneSwitcher .tp-thumbv_sthmb {
    align-self: end;
    height: 17px !important;
  }
  .sceneSwitcher .tp-thumbv_ovl {
    overflow-y: hidden;
    border-radius: 5px;
    box-shadow: -10px 6px 4px var(--bs-sh);
  }
  .sceneSwitcher .tp-thumbv_thmb {
    height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
    width: calc(var(--tp-plugin-thumbnail-list-thumb-size) * 1.38) !important;
    object-fit: cover !important;
  }
  .sceneSwitcher .tp-thumbv_thmb::after {
    line-height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
  }
  .sceneSwitcher .tp-thumbv_opt {
    width: 100%;
    padding: 3px;
    height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
  }
  .contactPane {
    font-size: 10px;
    font-family: Arial, sans-serif;
    width: 50%;
  }
  .colorSwitcherPane {
    font-size: 10px;
    font-family: Arial, sans-serif;
    width: 50%;
  }
  .colorSwitcherPane .tp-thumbv_thmb {
    width: 100% !important; 
    height: 100% !important; 
    object-fit: contain !important; 
  }
  .colorSwitcherPane .tp-thumbv_ovl {
    overflow-y: hidden;
    width: 150% !important;
    position: relative;
    top: -30px;
    left: -15px;
  }
  .colorSwitcherPane .tp-lblv_l {
    margin-top: 1% !important;
    padding-right: 1px;
  }
  .colorSwitcherPane .tp-thumbv_opt {
    height: var(--thumbnail-size) !important;
  }
  .colorSwitcherPane .tp-lblv {
    align-items: center;
  }
  .colorSwitcherPane .tp-lblv_v {
    width: 20px;
  }
  .colorSwitcherPane .tp-thumbv_sthmb {
    width: 20px !important;
  }
  .contactPane .tp-btnv_t {
    text-align: center;
    background-color: #37383d;
    color: #93959c;
    font-weight: normal;
    width: 82px;
  }
  .sceneSwitcher .tp-thumbv {
    width: 90px;
  }
  .sceneSwitcher .tp-thumbv_sopt {
    width: 90px;
  }
  .sceneSwitcher .tp-lblv_v {
    width: 90px !important;
  }
  .sceneSwitcher .tp-thumbv_lbl {
    height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
    line-height: var(--tp-plugin-thumbnail-list-thumb-size);
    justify-content: center;
  }
}
@media (orientation: portrait) {
  :root {
    --tp-plugin-thumbnail-list-height: 100vh;
    --tp-plugin-thumbnail-list-width: 30svw;
    --tp-plugin-thumbnail-list-thumb-size: 5svh;
    --mobileScaleToolsContainer: 3;
    --thumbnail-size: 2svh;
  }
  #tools-container {
    position: absolute; 
    top: 5px; 
    right: 5px; 
    width: 180px;
    display: inline-flex; 
    flex-direction: column; 
    padding: 1px; 
    gap: 1px; 
    align-items: flex-end;
    transform-origin: top right;
    transform: scale(1);
  }
  body,
  html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #f9f9f9;
    overflow-y: hidden;
    overflow-x: hidden;
    opacity: 0;
  /*transition: opacity 0.3s ease-in;*/
  }
  h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
  }
 #progressContainer {
  position: fixed;
    width: 1%;
  /*max-width: 400px;*/
  margin: 20px auto;
  text-align: center;
  z-index: 1000;
}

#imageWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0px solid #ccc;
  border-radius: 0px;
}


#maskedImage {
  width: 100%;
  display: block;
  background-color: transparent;
  /*opacity: 0;*/
}

#maskOverlay {
  position: absolute;
  top: 0;
  right: 0; /* Ukotvení napravo místo vlevo */
  width: 100%;
  height: 100%;
  background-color:  transparent;
  opacity: .9;
  /*transition: width 0.01s ease-in-out;*/
}



  
  #status {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
    text-align: center;
  }
  .logo-container img:hover {
    transform: scale(1.1); 
  }
  .disable-mouse-events {
    user-select: none; 
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none;
  }
  .logo-container {
    position: fixed;
    bottom: 10px;      /* 10 px nad spodním okrajem */
    left: 50%;         /* zarovná vlevo doprostřed */
    transform: translateX(-50%); /* posune zpět o polovinu své šířky = přesně doprostřed */
    cursor: pointer;
    z-index: 1000;
   /* aspect-ratio: 4 / 1;*/
    width: 22%;
  }
  .logo-container img {
    width: 100%; 
    height: auto; 
    transition: transform 0.3s; 
  }
  .sceneSwitcher {
    font-size: 10px;
    font-family: Arial, sans-serif;
    width: 50%;
  }
  .sceneSwitcher .tp-rotv_c {
    height: 25px !important;
  }
  .sceneSwitcher .tp-lblv_l {
    padding-right: 4px !important;
    margin-top: -0.7vh !important;
  }
  .sceneSwitcher .tp-lblv {
    text-align: center;
    display: block !important;
  }
  .sceneSwitcher .tp-thumbv_slbl {
    text-align: center;
    width: 100%;
    margin-left: 0px;
    width: 60px !important;
    margin-top: 3px;
    height: 17px;
  }
  .sceneSwitcher .tp-thumbv_sthmb {
    align-self: end;
    height: 17px !important;
    margin-top: 13px;
  }
  .sceneSwitcher .tp-thumbv_ovl {
    overflow-y: hidden;
    border-radius: 5px;
    box-shadow: -10px 6px 4px var(--bs-sh);
  }
  .sceneSwitcher .tp-thumbv_thmb {
    height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
    width: calc(var(--tp-plugin-thumbnail-list-thumb-size) * 1.38) !important;
    object-fit: cover !important;
  }
  .sceneSwitcher .tp-thumbv_thmb::after {
    line-height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
  }
  .sceneSwitcher .tp-thumbv_opt {
    width: 100%;
    padding: 3px;
    height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
  }
  .contactPane {
    font-size: 10px;
    font-family: Arial, sans-serif;
    width: 50%;
  }
  .colorSwitcherPane {
    font-size: 10px;
    font-family: Arial, sans-serif;
    width: 50%;
  }
  .colorSwitcherPane .tp-thumbv_thmb {
    width: 100% !important; 
    height: 100% !important; 
    object-fit: contain !important; 
  }
  .colorSwitcherPane .tp-thumbv_ovl {
    overflow-y: hidden;
    width: 150% !important;
    position: relative;
    top: -30px;
    left: -15px;
  }
  .colorSwitcherPane .tp-lblv_l {
    margin-top: 1% !important;
    padding-right: 1px;
  }
  .colorSwitcherPane .tp-thumbv_opt {
    height: var(--thumbnail-size) !important;
  }
  .colorSwitcherPane .tp-lblv {
    align-items: center;
  }
  .colorSwitcherPane .tp-lblv_v {
    width: 20px;
  }
  .colorSwitcherPane .tp-thumbv_sthmb {
    width: 20px !important;
  }
  .contactPane .tp-btnv_t {
    text-align: center;
    background-color: #37383d;
    color: #93959c;
    font-weight: normal;
    width: 82px;
  }
  .sceneSwitcher .tp-thumbv {
    width: 90px;
  }
  .sceneSwitcher .tp-thumbv_sopt {
    width: 90px;
    margin-top: 9px !important;
  }
  .sceneSwitcher .tp-lblv_v {
    width: 90px !important;
  }
  .sceneSwitcher .tp-thumbv_lbl {
    height: var(--tp-plugin-thumbnail-list-thumb-size) !important;
    line-height: var(--tp-plugin-thumbnail-list-thumb-size);
    justify-content: center;
  }
}
