.block-smart-lightning {
  position: relative;
  height: 620px;
  margin-top: 0px;
  margin-bottom: 100px;
}

.block-smart-sensor {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 5;
  width: 200px;
  -webkit-transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease, -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  cursor: pointer;
}

.block-smart-sensor:hover {
  -webkit-filter: contrast(130%);
  filter: contrast(130%);
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}

.block-smart-text-description.lightbulb {
  margin-top: 23px;
}

.block-smart-text-description.lightbulb:hover {
  -webkit-filter: contrast(130%);
  filter: contrast(130%);
}

.block-smart-dimmer {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 5;
  width: 200px;
  -webkit-transition: -webkit-transform 450ms ease;
  transition: -webkit-transform 450ms ease;
  transition: transform 450ms ease;
  transition: transform 450ms ease, -webkit-transform 450ms ease;
  cursor: pointer;
}

.block-smart-dimmer:hover {
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}

.block-smart-app {
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 5;
  width: 200px;
  -webkit-transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease, -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  cursor: pointer;
}

.block-smart-app:hover {
  -webkit-filter: contrast(106%);
  filter: contrast(106%);
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}

.block-smart-lightbulb {
  position: absolute;
  right: -60px;
  bottom: 0px;
  z-index: 5;
  width: 320px;
  -webkit-transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease, -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  cursor: pointer;
}

.block-smart-lightbulb:hover {
  -webkit-filter: contrast(115%);
  filter: contrast(115%);
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}

.block-smart-gateway {
  position: absolute;
  left: 38%;
  top: 22%;
  right: 0px;
  bottom: 0px;
  z-index: 5;
  width: 250px;
  -webkit-transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease;
  transition: transform 450ms ease, filter 450ms ease, -webkit-transform 450ms ease, -webkit-filter 450ms ease;
  cursor: pointer;
}

.block-smart-gateway:hover {
  -webkit-filter: contrast(130%);
  filter: contrast(130%);
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}
.block-smart-remote-2 {
  position: absolute;
  left: 41%;
  top: -200px;
  right: 0px;
  z-index: 5;
  width: 190px;
  -webkit-transition: -webkit-transform 458ms ease, -webkit-filter 450ms ease;
  transition: -webkit-transform 458ms ease, -webkit-filter 450ms ease;
  transition: transform 458ms ease, filter 450ms ease;
  transition: transform 458ms ease, filter 450ms ease, -webkit-transform 458ms ease, -webkit-filter 450ms ease;
  cursor: pointer;
}

.block-smart-remote-2:hover {
  -webkit-filter: contrast(129%);
  filter: contrast(129%);
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}
.modal-background {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background.remote {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background.gateway {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background.sensor {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background.app {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background.dimmer {
  display: none;
  opacity: 1;
}

.modal-background.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-container {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  display: inline-block;
  margin: 5% 10%;
}

.modal-container.remote {
  padding: 3%;
  border: 4px solid #143a47;
  background-image: url('../images/Remote.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.modal-container.gateway {
  padding: 3%;
  border: 4px solid #143a47;
  background-image: url('../images/Gateway.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.modal-container.sensor {
  display: block;
  padding: 3% 3% 3% 10%;
  border: 4px solid #143a47;
  background-image: url('../images/Sensor.jpg');
  background-position: 0px 0px;
  background-size: cover;
}

.modal-container.app {
  padding: 3%;
  border: 4px solid #143a47;
  background-image: url('../images/App.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.modal-container.dimmer {
  padding: 3%;
  border: 4px solid #143a47;
  background-image: url('../images/Dimmer.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.modal-container.lightbulb {
  display: inline-block;
  padding: 3%;
  border: 4px solid #143a47;
  background-image: url('../images/Lightbulb.jpg');
  background-position: 0px 0px;
  background-size: cover;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.image-14 {
  position: static;
  top: 10px;
  right: 10px;
}

.modal-text-black {
  color: #000;
}

.modal-text-black.remote {
  display: inline-block;
  margin-top: 0px;
  margin-left: 0px;
  font-size: 16px;
  line-height: 22px;
}

.modal-smart-button {
  position: absolute;
  display: block;
  margin-top: 10px;
  border-radius: 5px;
  background-color: #143a47;
}

.modal-smart-button.yellow {
  background-color: #d1a456;
}

.modal-text-and-button-container {
  position: static;
  left: 20px;
  top: 20px;
  display: inline-block;
  width: 40%;
  margin-top: 0px;
}

.modal-text-white {
  font-family: 'Verdana IKEA Normal', Verdana, sans-serif;
  color: #fff;
  font-style: normal;
  font-weight: 400;
}

.modal-background-gateway {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 100;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background-gateway.remote {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-gateway.gateway {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-gateway.sensor {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-gateway.app {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-gateway.dimmer {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-gateway.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-sensor {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 100;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background-sensor.remote {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-sensor.gateway {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-sensor.sensor {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-sensor.app {
  z-index: 999999; 
  display: none;
  opacity: 1;
}

.modal-background-sensor.dimmer {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-sensor.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-app {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background-app.remote {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-app.gateway {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-app.sensor {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-app.app {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-app.dimmer {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-app.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-dimmer {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background-dimmer.remote {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-dimmer.gateway {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-dimmer.sensor {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-dimmer.app {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-dimmer.dimmer {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-dimmer.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-lightbulb {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background-lightbulb.remote {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-lightbulb.gateway {
   z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-lightbulb.sensor {
   z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-lightbulb.app {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-lightbulb.dimmer {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-lightbulb.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-remote {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  background-color: rgba(35, 31, 32, .73);
  opacity: 0;
}

.modal-background-remote.remote {
   z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-remote.gateway {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-remote.sensor {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-remote.app {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-remote.dimmer {
  z-index: 999999;
  display: none;
  opacity: 1;
}

.modal-background-remote.lightbulb {
  z-index: 999999;
  display: none;
  opacity: 1;
}
.block-modal-lightbulb-plus {
    margin-top: 10px;
      }
  .block-modal-dimmer-plus {
    margin-top: 10px;
  }
  .block-modal-gateway-plus {
    margin-top: 10px;
  }
.close-button-remote {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.close-button-gateway {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.close-button-sensor {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.close-button-dimmer {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.close-button-app {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.close-button-lightbulb {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}
@media (max-width: 991px) {

  .image-13 {
    max-width: 100%;
  }
  .modal-container.remote {
    margin: 0%;
    padding-top: 8%;
    padding-left: 8%;
    border-style: none;
  }
  .modal-container.gateway {
    margin: 0%;
    padding-top: 8%;
    padding-left: 8%;
    border-style: none;
  }
  .modal-container.sensor {
    margin: 0%;
    padding-top: 8%;
    padding-left: 20%;
    border-style: none;
  }
  .modal-container.app {
    margin: 0%;
    padding-top: 8%;
    padding-left: 8%;
    border-style: none;
  }
  .modal-container.dimmer {
    margin: 0%;
    padding-top: 8%;
    padding-left: 8%;
    border-style: none;
  }
  .modal-container.lightbulb {
    margin: 0%;
    padding-top: 8%;
    padding-left: 8%;
    border-style: none;
  }

}

@media (max-width: 767px) {

.block-modal-lightbulb-plus {
    margin-top: 10px;
      }
  .block-modal-dimmer-plus {
    margin-top: 10px;
  }
  .block-modal-gateway-plus {
    margin-top: 10px;
  }

  .block-modal-remote-plus {
  margin-top: 5px;
  }
    .modal-container.gateway {
    padding-top: 7%;
    padding-left: 7%;
  }
  .modal-container.app {
    padding-top: 7%;
    padding-left: 7%;
  }
  .modal-text-white {
    font-size: 12px;
    line-height: 16px;
  }
  .modal-background-gateway.gateway {
    display: none;
  }
  .modal-background-app.app {
    display: none;
  }

}

@media (max-width: 479px) {

  .block-modal-lightbulb-plus {
    margin-top: -55px;
    margin-left: 180px;
  }
  .block-modal-dimmer-plus {
    margin-top: -50px;
    margin-left: 180px;
  }
  .block-modal-gateway-plus {
    margin-top: -67px;
    margin-left: 180px;
  }
  .block-modal-sensor-plus {
    margin-top: -77px;
    margin-left: 180px;
  }
  .block-modal-remote-plus {
    position: static;
    right: 0px;
    bottom: 0px;
    margin-top: -86px;
    margin-left: 180px;
    padding-right: 0px;
  }
    .block-smart-sensor {
    position: static;
    display: block;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
  }
  .block-smart-dimmer {
    position: static;
    display: block;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
  }
  .block-smart-app {
    position: static;
    display: block;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
  }
  .block-smart-lightbulb {
    position: static;
    display: block;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
  }
  .mobile-transition-slider {
    width: 100%;
    height: 100vh;
    background-color: transparent;
  }
  .slide {
    background-image: url('../images/Glavni-menu-mobile1.jpg');
    background-position: 50% 50%;
    background-size: cover;
  }
  .slide-2 {
    background-image: url('../images/Glavni-menu-mobile2.jpg');
    background-position: 50% 50%;
    background-size: cover;
  }
  .slide-3 {
    background-image: url('../images/Glavni-menu-mobile3.jpg');
    background-position: 50% 50%;
    background-size: cover;
  }
  .modal-container.remote {
    background-position: -86px 0px;
    background-size: cover;
  }
  .modal-container.gateway {
    background-position: 50% -3px;
    background-size: auto;
    font-size: 16px;
    line-height: 22px;
  }
  .modal-smart-button {
    padding: 7px 10px;
    font-size: 12px;
    line-height: 18px;
  }
  .modal-smart-button.yellow {
    padding: 7px 10px;
    font-size: 12px;
  }
  .modal-text-and-button-container {
    width: 80%;
    margin-top: 0px;
  }
  .modal-text-and-button-container.sensor {
    margin-top: 70px;
  }
  .modal-text-white {
    width: 100%;
    font-size: 14px;
    line-height: 18px;
  }
  .modal-background-gateway.gateway {
    display: none;
  }
  .modal-background-sensor.sensor {
    display: none;
  }
  .modal-background-app.app {
    display: none;
  }
  .modal-background-dimmer.dimmer {
    display: none;
    opacity: 1;
  }
  .modal-background-lightbulb.lightbulb {
    display: none;
  }
  .modal-background-remote.remote {
    display: none;
  }

}