* {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: black;
  font-family: Arial, sans-serif, "Saira";
  line-height: 1;
}

#container {
  position: absolute;
}

.portrait #container {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* CANVAS AND VIDEO */
#backgroundVideoCanvas {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#backgroundVideo {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* BUTTONS */
#logo {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  right: 25px;
  bottom: 25px;
  width: 240px;
  height: auto;
  cursor: pointer;
  z-index: 4;
}

#returnButton {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  left: 25px;
  top: 25px;
  height: 60px;
  width: auto;
  cursor: pointer;
  z-index: 4;
}

#siloDescargaMasaPdf {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  left: 100px;
  top: 25px;
  height: 60px;
  width: auto;
  cursor: pointer;
  z-index: 4;
}

#infoButton {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  right: 107px;
  top: 25px;
  height: 60px;
  width: auto;
  cursor: pointer;
  z-index: 4;
}

#closedMenuButton, #openMenuButton {
  position: absolute;
  display: block;
  visibility: hidden;
  transition: opacity 0.3s linear;
  width: auto;
  height: 60px;
  left: 25px;
  top: 110px;
  cursor: pointer;
  z-index: 4;
}

#closedMenuButton {
  opacity: 1;
}

#openMenuButton {
  opacity: 0;
}

/* OVERLAY */
#infoWindowOverlay {
  display: block;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 6;
}

/* HOTSPOTS */
.hotspot {
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  position: absolute;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 4;
}

.skew-frame {
  position: absolute;
  display: flex;
  width: max-content;
  height: auto;
  padding: 11px 22px;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: white;
  background-color: rgba(51, 63, 72, 0.8);
  transform: skewX(-10deg) translate(-50%);
  transition: color 0.3s linear, background-color 0.3s linear;
  text-transform: uppercase;
  cursor: pointer;
}

.skew-frame span {
  display: grid;
  font-size: 20px;
  font-weight: 500;
  transform: skewX(10deg);
  align-content: center;
}

.skew-frame:hover {
  background-color: rgba(51, 63, 72, 1);
  color: rgb(162, 178, 200);
}

.hotspot:hover .skew-frame {
  background-color: rgba(51, 63, 72, 1);
  color: rgb(162, 178, 200);
}

.frame-down {
  left: 50%;
  top: 39px;
}

.frame-up {
  left: 50%;
  top: -56px;
}

.frame-up-two {
  left: 50%;
  top: -77px;
}

.highlight-point {
  position: absolute;
  box-shadow: 0 0 0 0 rgba(162, 178, 200, 0.8);
  border-radius: 50%;
  border: solid 15px rgba(162, 178, 200, 0.6);
  animation: pulse 1s infinite cubic-bezier(0.22, 0.44, 0.66, 1);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 0.5vw rgba(162, 178, 200, 0.6);
    }

    0% {
        width: 0.07vw;
        height: 0.07vw;
    }

    100% {
        width: 75%;
        height: 75%;
        opacity: 0.25;
    }
}

.plus-menu-btn {
  cursor: pointer;
  position: absolute;
  text-align: center;
  background-color: rgb(51, 63, 72);
  border: 1px solid rgb(162, 178, 200);
  padding: 0px;
  margin: 0px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ACCESSORIES SIDE MENU */
.accessoriesSideMenu {
  display: block;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: 100px;
  left: 92px;
  width: auto;
  background-color: rgb(51, 63, 72);
  overflow: hidden;
  /*transition: opacity 0.3s linear;*/
  z-index: 4;
}

.accessoriesSideMenu ul {
  overflow: hidden;
  font-size: 20px;
  padding: 0;
  margin: 0;
  color: white;
  line-height: normal;
}

#accessoriesSideMenuGranja, #accessoriesSideMenuDeposito, #accessoriesSideMenuDistribucionPiensoEspiral, #accessoriesSideMenuDistribucionPiensoCadena {
  padding: 1% 2%;
}

#accessoriesSideMenuSiloDescargaGranel {
  padding: 0.5% 2%;
}

.accessoriesSideMenu ul {
  padding-inline-start: 0;
}

.accessoriesSideMenu ul li {
  padding-top: 5px;
  padding-bottom: 5px;
  transition: color 0.3s;
  list-style-type: none;
  cursor: pointer;
  text-transform: uppercase;
}

.accessoriesSideMenu ul li:hover {
  color: rgb(162, 178, 200);
}

.mainMenuItem {
  background-color: transparent;
  border-bottom: 1px solid white;
  cursor: pointer;
}

.mainMenuItem button {
  font-weight: 500;
  font-size: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
  padding-left: 20px;
  text-align: start;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  width: 100%;
  line-height: 1;
  text-transform: uppercase;
}

.mainMenuItem button:hover {
  color: rgb(162, 178, 200);
  text-transform: uppercase;
}

.mainMenuItem ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  font-size: 20px;
  padding: 0;
  margin: 0;
  padding-inline-start: 38px;
  color: white;
  line-height: normal;
}

.mainMenuItem ul li {
  opacity: 0;
}

.mainMenuItem ul li:hover {
  color: rgb(162, 178, 200);
}

@keyframes dropdown {
  to {
    opacity: 1;
  }
}

@keyframes dropdown-reverse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.noBorder {
  border-bottom: none;
}

.mainMenuItem ul li.firstItem {
  padding-top: 0% !important;
}

.mainMenuItem ul li.lastItem {
  padding-bottom: 5.5% !important;
}

/* INFO WINDOWS */
.infoWindow {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 875px;
  font-size: 20px;
  border-radius: 12px;
  background-color: white;
  color: rgb(51, 63, 72);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
  padding: 40px;
  z-index: 6;
}

.infoWindowTitle {
  font-size: 26px;
  font-weight: bold;
  color: rgb(162, 178, 200);
  margin-top: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.infoWindowLogo {
  position: absolute;
  height: 45px;
  width: auto;
  right: 40px;
  bottom: 40px;
}

.infoWindowClose {
  position: absolute;
  height: 55px;
  width: auto;
  right: 0;
  top: 0;
  cursor: pointer;
  transition: opacity 0.3s linear;
  z-index: 6;
}

.infoWindowClose:hover {
  opacity: 0;
}

.skew {
  display: flex;
  width: max-content;
  padding-left: 35px;
  padding-right: 35px;
  height: 48px;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: white;
  background-color: rgb(51, 63, 72);
  transform: skewX(-10deg);
  transition: color 0.3s;
  cursor: pointer;
  margin-left: 5px;
}

.skew:hover {
  color: rgb(162, 178, 200);
}

.skew span {
  display: grid;
  height: 48px;
  font-size: 20px;
  font-weight: 500;
  transform: skewX(10deg);
  align-content: center;
}

.infoWindowVideo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: 25px;
  margin-bottom: 25px;
  cursor: pointer;
}

.infoWindowImage {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: 25px;
  margin-bottom: 25px;
}

.imageTall {
  position: relative;
  width: auto !important;
  height: 100% !important;
  max-height: 492px;
  aspect-ratio: unset !important;
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0%);
}

/* INDEX VALUES */
.indexThree {
  z-index: 3 !important;
}

.indexFive {
  z-index: 5 !important;
}